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.

'building workspace' has encountered an error

Other Parts Discussed in Thread: CCSTUDIO

Hello,

Since this morning, I faced an error when trying to build my workspace.

I tried to restart CCS and to restart my laptop. Nothing change, I cannot build anything.

I attached :
  - error log file. 3288.CCS error log.txt
  - configuration file. 6574.CCS configuration.txt

Hoping someone could help me...

Best regards,

  • Hi Gautan,

    Thanks for your help, I already study this post before.
    But unfortunately, this post is not talking about my current issue.

    In the log file I attached, you should go at the end of file to see latest error :

    !ENTRY org.eclipse.core.resources 4 75 2014-02-25 10:42:26.140
    !MESSAGE Errors occurred during the build.
    !SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 75 2014-02-25 10:42:26.140
    !MESSAGE Errors running builder 'CDT Builder' on project 'Antares Core'.
    !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:422)
     at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Best regards,

    Rémi

  • Hi Remi,

    There was a project corruption issue in earlier CCS v5 builds, which was fixed in CCS v5.5.0.  See this post for more details: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/226067.aspx .

    Your project is already corrupted at this point.  If you can, please revert your .cproject file, and then upgrade to CCS v5.5.0.  

    If you cannot revert the .cproject file, could you attach that file here?  I will see if I can fix the corruption manually.

    Thanks,

    - Baltasar