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.

CCSv4 New Library Project Error: java.lang.NullPointerException

When I’m creating a New Library Project (Shared or Static) in CCSv4 I’m getting the message:

Error Creating Project

Project cannot be created

Reason: Internal Error: java.lang.NullPointerException

Why?

 

Where can I find a Manual about CCSv4? To find for example the differences between Shared and Static Libraries.

  • Could you provide steps that you use to create a project? I don't have New Library Project option in V4 RTM release. I only have New CCS or New Standard Make project options. 

    Once you select New CCS Project on the fourth page of the wizard, at the top, there is an option that allows selection of executable or static library. 

    Martin

     

  • I select: File\New\CCS Project

    In the New CCS Project GUI I type a name and unselect the Use default location and select/make a new Location and Next >

    In the next GUI I select under Project Type: Shared (or Static) Library (Cygwin), all other as default

    Then Finish, and comes the error.

     

    Leo

  • I can reproduce your issue(I have "Show all Project Types" disabled). I will file a bug to track this issue as we shouldn't be triggering java exceptions. However, if you would like to create a library using TI code generation tools, then you should use the steps that I outlined earlier. Cygwin/Gnu options are intended for cygwin/gnu toolchains. 

    In Project Type combo box, select device family(e.g. C6000), click next, click next and on fourth page of the wizard select "Static Library". "Executable" is the default. 

    Martin

     

  • Hallo Martin,

     

    That works, anyhow it creates the project will later try if  it is what I want.

     

    Comes the next question; What is the difference between Static and Shared Library, and what is Cygwin >> Manual?

     

    Thanks, Leo

  • Hello Leo, 

    CCS is based on Eclipse and CDT(C/C++ Development Tools) open source projects. Other options beside CCS Project are provided by CDT project. Below are couple of links that provide basic information on CDT projects, help links below are for a slightly newer version of CDT, but specific questions that you are asking are covered by newer versions documentation. 

    Martin

     

    http://help.eclipse.org/help33/topic/org.eclipse.cdt.doc.user/concepts/cdt_c_before_you_begin.htm

    http://help.eclipse.org/help33/topic/org.eclipse.cdt.doc.user/concepts/cdt_c_projects.htm