Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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: NULL Pointer Exception CONSTANTLY

Tool/software: Code Composer Studio

Hello.  I am still trying to use CCS7.   

Same question as this:

https://e2e.ti.com/support/tools/ccs/f/81/t/613151?CCS-java-lang-NullPointerException

Except I would not simply say "Very strange"  as the original poster said...   I would say this is crap.   It happens ALL THE TIME, as in DAILY.

And when I launch CCS, I see little message flashing that it is downloading stuff form Http:dowloads.ti.com/ .... ?

So in other words,  I am the mercy that TI hasn't injected some bug that prevents me from getting it to run

Right now, my "Workspace" window shows my project with a "folder" icon that is open.  AND NOT A SINGLE THING LISTED IN IT.

And I did launch with the -clean argument.  It did nothing.

C:\Users\scott>cd C:\ti\ccsv7\eclipse

C:\ti\ccsv7\eclipse>ccstudio.exe -clean

Can we fix CCS so that it's actually a reliable tool???

  • By the way...  I tried deleting the MetaData folder, and re-importing.   I even tried deleting ALL the hidden folders, starting the workspace from scratch, and re-importing.  I got one little 3 line test project to import back (into the same directory).  But not the real project.

    The result ...?

    Null Pointers are popping up like weeds!

    Does NO ONE defensively code against variables not being set anymore???

  • Hi Christopher,

    Sorry to hear of your pains with the very vague "NullPointerException" error. There are hard to track down in regards to the root cause. There have been many issues with the indexer in the past, with one fairly recent one which was reported by us to the Eclipse community:

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=547763

    It is apparently fixed in Eclipse CDT 9.9, hence CCSv10 should have that fix.

    I suggest updating your version of CCS. CCSv7 is quite old and there have been many fixes/improvements since that version. A lot of indexer issues were reported in CCSv7.x that has been fixed in later CCS versions.

    Thanks

    ki