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.
Hello,
I have a problem with a project created in CCS4 and then imported in the latest CCS5.4. I can build it without any issue in CCS4 but I have a strange behaviour with CCS5.
First there is a linking issue with some .obj files which are not found but it is not the purpose of this topic I should be able to fix it by myself but I'm stuck with another issue.
Right after cleaning the project in order to rebuilt it I have systematically a NullPointerException error message, I got the following log just bellow:
!ENTRY org.eclipse.core.resources 4 75 2013-06-19 11:40:24.347
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 75 2013-06-19 11:40:24.347
!MESSAGE Errors running builder 'CDT Builder' on project 'dsp_sw'.
!STACK 0
java.lang.NullPointerException
at org.eclipse.cdt.managedbuilder.internal.core.Tool.getOutputExtension(Tool.java:2355)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.addRuleForSource(GnuMakefileGenerator.java:2125)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.addRuleForSource(CCSMakefileGenerator.java:925)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.addFragmentMakefileEntriesForSource(GnuMakefileGenerator.java:1857)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.addFragmentMakefileEntriesForSource(CCSMakefileGenerator.java:813)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.addSources(GnuMakefileGenerator.java:1762)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.populateFragmentMakefile(GnuMakefileGenerator.java:617)
at com.ti.ccstudio.project.core.internal.build.temp.GnuMakefileGenerator.regenerateMakefiles(GnuMakefileGenerator.java:570)
at com.ti.ccstudio.project.core.internal.build.CCSMakefileGenerator.regenerateMakefiles(CCSMakefileGenerator.java:358)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1006)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:873)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:748)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:510)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:459)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:432)
at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:305)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Once I got this exception I can't clean or build the project anymore... I have to clean the workspace and to reimport the project again to be able to try to build it again (once).
Thanks,
Mickaël
Hi Mickaël,
would you be able to enable error tracking and send us any dump files and error logs? this wiki explains more:
http://processors.wiki.ti.com/index.php/Troubleshooting_CCS
Best Regards,
Lisa
Hi Lisa,
You can find in attachement the Eclipse log (.log), the server debug log (CCS5_debug_log.log) and the installation log (ccs_setup_5.4.0.00091_install.log). I did'nt found any debug server dump file.
Thank you for your help.
Hi Mickaël,
without error logs this might not be possible to debug. Are you sure you get no error logs when this exception occurs?
Do you see this for all projects and workspaces?
Your installation log shows a successful installation. The only thing there to note is that two drives where used . ... did you install into program files? If so this may be part of your problem .. or if there is a lingering connection somehow between C and M.
Best Regards,
Lisa
Hi Lisa,
Sorry for my late reply. CCS5 has been installed in D:\Program_Files\TI_CCS5
I followed instructions from your wiki but unfortunatelly I didn't found any logs... Can I check the log activation somewhere?
I have this issue only with our DSP application. There is no error with the ARM application (OMAP-L138).
Thanks for your help.
Best regards,
Mickael
Hi Mickaël,
would you be able to send the problem project? If you are able, offline is certainly an option. My ID is a link that can be used for a friend/conversation request.
Best Regards,
Lisa
Hi Lisa,
Unfortunatelly I can't send you the whole project. Nevertheless I have some progress. I searched about the org.eclipse.cdt.managedbuilder.internal.core.AdditionalInput.needsRebuild(AdditionalInput.java:345) last line from my eclipse log and I found some threads about this issue raised on Eclipse forum, especially those topics:
http://www.eclipse.org/forums/index.php/t/380888/
http://www.eclipse.org/forums/index.php/t/390592/
https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=389536
I tried the following workaround on both .cproject and .cdtbuild files and the issue is no more seen:
remove all <additionalInput kind="additionalinputdependency"/>
I guess that a patch may be available in Eclipse side and could be integrated in CCS5 as well.
Thanks for you help.
Regards,
Hi Mickael,
great, glad to hear you found a work around. Thanks for the feedback and update.
All the best with development.
Best Regards,
Lisa
Lisa,
For your information, I used the attached file org.eclipse.cdt.managedbuilder.core_5F00_8.1.0.201209170703.jar which include the fix for the Eclipse bug 389536 and it solve the issue without using the woarkaround previously described. This file should be unzipped in the plugin directory. It could help someone else...
5861.org.eclipse.cdt.managedbuilder.core_8.1.0.201209170703.jar.zip
Best regards,
Mickael