Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] MBS bug?

I think I’ve configured my toolchain incorrectly and I’ve come across the following exception:

 

This is on a recent HEAD version of CDT on Windows XP.

 

 

java.lang.NullPointerException

            at org.eclipse.cdt.managedbuilder.internal.macros.MbsMacroSupplier.getMacro(MbsMacroSupplier.java:428)

            at org.eclipse.cdt.managedbuilder.internal.macros.MbsMacroSupplier.getMacro(MbsMacroSupplier.java:357)

            at org.eclipse.cdt.managedbuilder.internal.macros.MbsMacroSupplier.getMacros(MbsMacroSupplier.java:675)

            at org.eclipse.cdt.managedbuilder.internal.macros.BuildCdtVariablesSupplierBase.getVariables(BuildCdtVariablesSupplierBase.java:46)

            at org.eclipse.cdt.utils.cdtvariables.SupplierBasedCdtVariableManager.getVariables(SupplierBasedCdtVariableManager.java:66)

            at org.eclipse.cdt.managedbuilder.internal.dataprovider.BuildVariablesContributor.getVariables(BuildVariablesContributor.java:148)

            at org.eclipse.cdt.internal.core.cdtvariables.BuildSystemVariableSupplier.getMacros(BuildSystemVariableSupplier.java:112)

            at org.eclipse.cdt.internal.core.cdtvariables.CoreMacroSupplierBase.getVariables(CoreMacroSupplierBase.java:32)

            at org.eclipse.cdt.utils.cdtvariables.SupplierBasedCdtVariableManager.getVariables(SupplierBasedCdtVariableManager.java:66)

            at org.eclipse.cdt.internal.core.cdtvariables.CdtVariableManager.getVariables(CdtVariableManager.java:72)

            at org.eclipse.cdt.internal.core.settings.model.CConfigurationDescriptionCache.loadData(CConfigurationDescriptionCache.java:102)

            at org.eclipse.cdt.internal.core.settings.model.CProjectDescription.loadDatas(CProjectDescription.java:190)

            at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.loadProjectDescription(CProjectDescriptionManager.java:893)

            at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:420)

            at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.getProjectDescription(CProjectDescriptionManager.java:403)

            at org.eclipse.cdt.internal.core.model.CProject.computeSourceRoots(CProject.java:606)

            at org.eclipse.cdt.internal.core.model.CProject.computeSourceRoots(CProject.java:630)

            at org.eclipse.cdt.internal.core.model.CProject.buildStructure(CProject.java:591)

            at org.eclipse.cdt.internal.core.model.Openable.generateInfos(Openable.java:260)

            at org.eclipse.cdt.internal.core.model.CElement.openWhenClosed(CElement.java:394)

            at org.eclipse.cdt.internal.core.model.CElement.getElementInfo(CElement.java:274)

            at org.eclipse.cdt.internal.core.model.CElement.getElementInfo(CElement.java:264)

            at org.eclipse.cdt.internal.core.model.Parent.getChildren(Parent.java:54)

            at org.eclipse.cdt.internal.core.model.CProject.getSourceRoots(CProject.java:487)

            at org.eclipse.cdt.internal.ui.BaseCElementContentProvider.getSourceRoots(BaseCElementContentProvider.java:332)

            at org.eclipse.cdt.internal.ui.BaseCElementContentProvider.getChildren(BaseCElementContentProvider.java:180)

            at org.eclipse.cdt.internal.ui.cview.CViewContentProvider.getChildren(CViewContentProvider.java:86)

            at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1283)

            at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:363)

            at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java:614)

            at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:580)

            at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:774)

            at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)

            at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:751)

            at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:495)

            at org.eclipse.jface.viewers.AbstractTreeViewer.internalSetExpanded(AbstractTreeViewer.java:1892)

            at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedElements(AbstractTreeViewer.java:2246)

            at org.eclipse.cdt.internal.ui.cview.CView.restoreState(CView.java:935)

            at org.eclipse.cdt.internal.ui.cview.CView.createPartControl(CView.java:551)

            at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:363)

            at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:219)

            at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)

            at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:3947)

            at org.eclipse.ui.internal.WorkbenchPage$16.runWithException(WorkbenchPage.java:3010)

            at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)

            at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)

            at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)

            at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3650)

            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3287)

            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2260)

            at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2176)

            at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:463)

            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)

            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:458)

            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)

            at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101)

            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146)

            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)

            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)

            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:356)

            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:171)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:585)

            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:476)

            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)

            at org.eclipse.equinox.launcher.Main.run(Main.java:1141)

            at org.eclipse.equinox.launcher.Main.main(Main.java:1116)

 


Back to the top