CW10.3 Build error

cancel
Showing results for 
Search instead for 
Did you mean: 

CW10.3 Build error

1,281 Views
euge
Contributor I

Hi

I just installed CW10.3 and when I tried to build a project I received

the next error.

 

Errors occurred during the build.

Errors running builder 'CDT Builder' on project 'GT60-CW10_REG_V9.1'.

java.lang.NullPointerException.

 

Anyone have any suggestions.

Best regards

Eugenio


Labels (1)
0 Kudos
8 Replies

278 Views
BlackNight
NXP Employee
NXP Employee

Hi Eugenio,

hard to say what the problem is. Could you post your project?

Or does it happen if you create a project with the wizard too (without any modifications)?

0 Kudos

278 Views
jrarick
Contributor I

Hi Erich,

I have the same problem.  It is a rather large and proprietary project, so I would rather not post.  I was able to run in CW10.1 and downloaded the CW10.3 evaluation, and this error popped up.  Not sure what the issue would be.

0 Kudos

278 Views
BlackNight
NXP Employee
NXP Employee

Hi Jim,

ok, understood. But could you have a look into the .metadata\.log file inside your workspace? This one should show at the end a stack trace of the java exception. Maybe this gives a clue what the problem is?

0 Kudos

278 Views
nitinkothari
Contributor II

Hi Erich,

Any update about the error ?

Regards,

Nik

0 Kudos

278 Views
trytohelp
NXP Employee
NXP Employee

Hi Dan,

I found some similar issue reported by other customers.

Most of the time it seems the problem was solved after to have created another workspace for his application.

To do that I recommend you to:

      - create a new workspace (another folder),

      - copy the project folder under this new workspace,

      - import it.

Hope this will help you.

Regards

Pascal

0 Kudos

278 Views
dan_quist
Contributor III

We are having the exact same problem. Been using 10.2 for the past year and we get this error when trying to build our 10.2 projects. The old MQX 3.8 projects build correctly, but our application projects do not.

Here is the log text.

!ENTRY org.eclipse.core.resources 4 2 2013-04-09 09:40:22.579

!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

!STACK 0

java.lang.NullPointerException

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.addTargets(CoreIDEMakefileGenerator.java:2149)

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.populateTopMakefile(CoreIDEMakefileGenerator.java:1871)

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.regenerateMakefiles(CoreIDEMakefileGenerator.java:1461)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1804)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1663)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:1113)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:723)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:634)

  at org.eclipse.core.internal.events.BuildManager$3.run(BuildManager.java:821)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

  at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:385)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:388)

  at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:444)

  at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:467)

  at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:540)

  at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:459)

  at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:397)

  at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)

  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.resources 4 75 2013-04-09 09:40:22.711

!MESSAGE Errors occurred during the build.

!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 75 2013-04-09 09:40:22.711

!MESSAGE Errors running builder 'CDT Builder' on project 'Core_Kinetis'.

!STACK 0

java.lang.NullPointerException

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.addTargets(CoreIDEMakefileGenerator.java:2149)

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.populateTopMakefile(CoreIDEMakefileGenerator.java:1871)

  at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.regenerateMakefiles(CoreIDEMakefileGenerator.java:1461)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1804)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1663)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:1113)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:723)

  at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:634)

  at org.eclipse.core.internal.events.BuildManager$3.run(BuildManager.java:821)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)

  at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:385)

  at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

  at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:388)

  at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:444)

  at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:467)

  at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:540)

  at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:459)

  at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:397)

  at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)

  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

0 Kudos

278 Views
jrarick
Contributor I

Will try.  Unfortunately I tried to update the CDT version.  Big mistake.  Trying to recover now.

!SESSION 2013-03-27 15:56:56.415 -----------------------------------------------
eclipse.buildId=I20070613-1755
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 2 0 2013-03-27 15:57:42.950
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2013-03-27 15:57:42.950
!MESSAGE Commands should really have a category: plug-in='com.freescale.core.debugger.ui.cdt', id='com.freescale.cdt.debug.cw.core.ui.rse.export.template', categoryId='com.freescale.categories.rse.freescale'

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: SWTWidgets_SearchCriteria in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: SWTWidgets_SearchText in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: SWTWidgets_SearchOptions in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: SWTWidgets_EraseText in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: DeferredLoadingContentManager_fetchingChildren in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: ObsoleteToolsNotifier_title in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: ObsoleteToolsNotifier_checkAgain in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: ObsoleteToolsNotifier_Problems_title in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 15:57:46.336
!MESSAGE NLS unused message: ObsoleteToolsNotifier_ObsoleteNotifierJob in: com.freescale.core.ide.ui.messages

!ENTRY com.freescale.processorexpert.core 1 0 2013-03-27 15:57:58.987
!MESSAGE Plugin com.freescale.processorexpert.core.service ProcessorExpertServiceProvider

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2013-03-27 15:57:59.268
!MESSAGE No repository found at file:/D:/workspace/MCU/MCU10.1_Release/Layout/eclipse/.eclipseextension.

!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1000 2013-03-27 15:57:59.299
!MESSAGE No repository found at file:/D:/workspace/MCU/MCU10.1_Release/Layout/eclipse/configuration/org.eclipse.osgi/bundles/159/data/listener_1925729951/.
!SESSION 2013-03-27 16:01:06.526 -----------------------------------------------
eclipse.buildId=I20070613-1755
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ui 2 0 2013-03-27 16:01:10.644
!MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
!SUBENTRY 1 org.eclipse.ui 2 0 2013-03-27 16:01:10.644
!MESSAGE Commands should really have a category: plug-in='com.freescale.core.debugger.ui.cdt', id='com.freescale.cdt.debug.cw.core.ui.rse.export.template', categoryId='com.freescale.categories.rse.freescale'

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: SWTWidgets_SearchCriteria in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: SWTWidgets_SearchText in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: SWTWidgets_SearchOptions in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: SWTWidgets_EraseText in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: DeferredLoadingContentManager_fetchingChildren in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: ObsoleteToolsNotifier_title in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: ObsoleteToolsNotifier_checkAgain in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: ObsoleteToolsNotifier_Problems_title in: com.freescale.core.ide.ui.messages

!ENTRY org.eclipse.osgi 2 1 2013-03-27 16:01:12.157
!MESSAGE NLS unused message: ObsoleteToolsNotifier_ObsoleteNotifierJob in: com.freescale.core.ide.ui.messages

!ENTRY com.freescale.processorexpert.core 1 0 2013-03-27 16:01:14.544
!MESSAGE Plugin com.freescale.processorexpert.core.service ProcessorExpertServiceProvider

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:02:35.893
!MESSAGE Indexed 'com.sandc.app.blinkled' (0 sources, 8 headers) in 2.31 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:02:41.088
!MESSAGE Indexed 'com.sandc.app.BMMHdwTest' (0 sources, 8 headers) in 0.00 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:02:45.790
!MESSAGE Indexed 'com.sandc.app.dnp2p' (0 sources, 8 headers) in 0.00 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:15.911
!MESSAGE Indexed 'com.sandc.app.dnpTest_byPK' (0 sources, 8 headers) in 0.00 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:20.810
!MESSAGE Indexed 'com.sandc.eos' (0 sources, 8 headers) in 0.00 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:22.948
!MESSAGE Indexed 'com.sandc.eos.update' (0 sources, 8 headers) in 0.02 sec: 0 declarations; 0 references; 8 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:22.948
!MESSAGE Indexed 'com.sandc.timers' (0 sources, 8 headers) in 0.00 sec: 0 declarations; 0 references; 16 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:28.653
!MESSAGE Indexed 'com.sandc.eos.coldfire' (119 sources, 167 headers) in 4.26 sec: 10,065 declarations; 36,245 references; 47 unresolved inclusions; 1,179 syntax errors; 1,163 unresolved names (2.45%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:28.824
!MESSAGE Indexed 'com.sandc.assert' (1 sources, 15 headers) in 0.17 sec: 1,901 declarations; 1,431 references; 17 unresolved inclusions; 16 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:30.525
!MESSAGE Indexed 'com.sandc.app.dnpTest' (1 sources, 36 headers) in 1.70 sec: 4,336 declarations; 5,855 references; 22 unresolved inclusions; 0 syntax errors; 83 unresolved names (0.81%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:31.383
!MESSAGE Indexed 'com.sandc.app.SFConfig' (6 sources, 31 headers) in 0.86 sec: 119 declarations; 859 references; 8 unresolved inclusions; 0 syntax errors; 309 unresolved names (24.01%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:31.695
!MESSAGE Indexed 'com.sandc.dnp3' (5 sources, 37 headers) in 0.31 sec: 3,507 declarations; 5,042 references; 21 unresolved inclusions; 135 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.cdt.core 1 0 2013-03-27 16:03:31.741
!MESSAGE Indexed 'com.sandc.flash' (1 sources, 11 headers) in 0.05 sec: 979 declarations; 811 references; 17 unresolved inclusions; 0 syntax errors; 0 unresolved names (0.00%)

!ENTRY org.eclipse.core.resources 4 2 2013-03-27 16:04:30.918
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at com.freescale.core.ide.cdt.toolchain.ManagedBuildCoreIDEToolInfo.calculateOutputs(ManagedBuildCoreIDEToolInfo.java:707)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator$7.visit(CoreIDEMakefileGenerator.java:4712)
at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.doAccept(PathSettingsContainer.java:517)
at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.accept(PathSettingsContainer.java:513)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.calculateToolInputsOutputs(CoreIDEMakefileGenerator.java:4616)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.regenerateMakefiles(CoreIDEMakefileGenerator.java:1455)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1804)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1663)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:1113)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:726)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:634)
at org.eclipse.core.internal.events.BuildManager$3.run(BuildManager.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:385)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:388)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:444)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:467)
at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:540)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:459)
at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:397)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.resources 4 75 2013-03-27 16:04:31.164
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.eclipse.cdt.managedbuilder.core 4 75 2013-03-27 16:04:31.164
!MESSAGE Errors running builder 'CDT Builder' on project 'com.sandc.eos.coldfire'.
!STACK 0
java.lang.NullPointerException
at com.freescale.core.ide.cdt.toolchain.ManagedBuildCoreIDEToolInfo.calculateOutputs(ManagedBuildCoreIDEToolInfo.java:707)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator$7.visit(CoreIDEMakefileGenerator.java:4712)
at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.doAccept(PathSettingsContainer.java:517)
at org.eclipse.cdt.core.settings.model.util.PathSettingsContainer.accept(PathSettingsContainer.java:513)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.calculateToolInputsOutputs(CoreIDEMakefileGenerator.java:4616)
at com.freescale.core.ide.cdt.toolchain.CoreIDEMakefileGenerator.regenerateMakefiles(CoreIDEMakefileGenerator.java:1455)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performMakefileGeneration(CommonBuilder.java:1804)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.performPrebuildGeneration(CommonBuilder.java:1663)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:1113)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:726)
at org.eclipse.cdt.managedbuilder.internal.core.CommonBuilder.build(CommonBuilder.java:634)
at org.eclipse.core.internal.events.BuildManager$3.run(BuildManager.java:821)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:385)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:388)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:444)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:467)
at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:540)
at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:459)
at org.eclipse.ui.actions.BuildAction$1.runInWorkspace(BuildAction.java:397)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

0 Kudos

278 Views
jrarick
Contributor I

Did you get a response?  I have the same issue.

0 Kudos