This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CCSTUDIO-C2000: "java.lang.NullPointerException" when launching the debugger and closing CCS

There was progress!

I deleted the xml file and ran fsclean in a cmd window in the fsclean directory, as seen attached.

Now, I can start up CCS6, use the target configuration launch option, and I get a null exception error (see attached).

However, I am able to connect to target and load or run with symbols as I need.

I've noticed I also get this null exception error when I close CCS6.

So, this error is not preventing debug operation, but something is clearly not right.

I've spent a little time searching, but it is not obvious where this log file is. 

Any advice?

Thank you for the help so far. Let me know if I should set your answer answer as the solution and open another question?

Neal

  • ngohara1991 said:
    So, this error is not preventing debug operation, but something is clearly not right.

    Ah, the infamous "java.lang.NullPointerException". It could mean anything. To me, it is "I wish CCS had a more useful error message to spit out instead this generic default message".

    The logs would be helpful. See:

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCSv6#CCS_Diagnostic_Logs

    ngohara1991 said:
    Let me know if I should set your answer answer as the solution and open another question?

    If you don't mind, that would be good to mark it as resolved. We still need to do some more investigations on real root cause but at least you can progress.

    I will split off the new issue into a new thread.

    Thanks

    ki

  • Here is the eclipse log file.

    6622.log.txt

    There are no files in the Debug Server Dump Files.

    Here is the Install log

    1145.ccs_setup_6.1.0.00104_install.log

    ccs_6.1.0.00104.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    Log started 11/05/2018 at 15:20:46
    Preferred installation mode : unattended
    Trying to init installer in mode unattended
    Mode unattended successfully initialized
    Cannot delete file C:/Users/Neal_OHara/AppData/Local/Temp/bitrock_installer_11152.log
    Cannot delete file C:/Users/Neal_OHara/AppData/Local/Temp/bitrock_installer_12016.log
    [15:20:57] Product Name Code Composer Studio 6.1.0
    [15:20:57] Product Version 6.1.0.00104
    [15:20:57]
    Preparing to Install
    Preparing to Install
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin
    Unpacking files
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\dtplite.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\iconv.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\libexslt.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\libxml2.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\libxslt.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\page.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tcl84.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tcldocstrip.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tclpip84.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tclsh.exe
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tclsh84.exe
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tk84.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\tkcon.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\wish.exe
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\wish84.exe
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\bin\zlib.dll
    Directory already exists: C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\images
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\lang
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\dict8.5.3
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\itcl3.3
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\itk3.3
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\dde1.2
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\encoding
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\http2.5
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\msgcat1.3
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\opt0.4
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\platform
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\reg1.1
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\tbcload1.4
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl8.4\thread2.6.3
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tdom0.8.1
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tile0.7.5
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tk8.4
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tk8.4\images
    Creating directory C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tk8.4\msgs
    Unpacking files
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\libexslt.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\libxml2.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\libxslt.dll
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tcl84.lib
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tclstub84.lib
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tk84.lib
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\tkstub84.lib
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\arrow.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\bitmap.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\button.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\buttonbox.tcl
    Unpacking C:\Users\Neal_OHara\AppData\Local\Temp\ccs_fe0bc6b7-bf98-4c7c-446d-b0b3ecae2eb5\tcl\lib\BWidget\calendar.tcl
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Here is the Debug Server Log, with a capture of the exception error:

    6305.debug_server_log.txt

    It shows something about a TargetType exception, near the end?

    Let me know if there's anything else I should send.

    Neal

  • Thanks, I will get them analyzed.

    Is the Memory Browser view open in CCS when you get these errors?
  • Yes it is.
    Closing it just now, caused another null error.

    I've been playing around with it, and I think I only get the error if the Memory Browser is open, on the first launch after starting CC6.
    Interesting...

    Neal
  • ngohara1991 said:
    I've been playing around with it, and I think I only get the error if the Memory Browser is open, on the first launch after starting CC6.

    This might be the same problem as CCS 6.1.1 Memory Browser can open without all toolbar options, for which SDSCM00052465 was raised.

    SDSCM00052465 was reported as fixed in CCS 6.1.2.

  • Interesting, it does feel like the same problem.

    Although, I am using CCS 6.1.0.00104, which he claims does not repeat the problem.

    Anyhow, I will just work around the problem for now. We are trying to use a static version of CCS/TI compilers for archival reasons, so I will stick with this until the project lead approves an update.

    Thanks for the explanation of the problem,

    Neal

  • ngohara1991 said:
    Although, I am using CCS 6.1.0.00104, which he claims does not repeat the problem.

    According to your installation logs you posted in the other thread, you have CCSv6.1.1.00022

    https://e2e.ti.com/support/tools/ccs/f/81/p/743832/2746582#2746582

    Perhaps you updated to that version when you applied the various CCS updates.

    Thanks

    ki