Community
Participate
Working Groups
I am integrating CDT with a custom tool to cross-compile. I want to compile the linux kernel, and therefore I used the "Standard C++ Make Project" template. I have managed to integrate and build the kernel using my powerpc-uclibc-gcc tool with eclipse by adding a builder on the builder tab, but when I come to add debugging attributes to the GNU make in the "C/C++ Make Project" tab, the top bar sometimes gives the error "Must enter a build command" even though the correct command is filled in, and sometimes the error "The previous page contains invalid information" when I just click on the tab... Thanks. Sterren Latsky This may or may not be useful but this is an ouput from eclipse with the -debug attribute Starting application: 1799 !SESSION Jul 28, 2004 09:31:23.24 ---------------------------------------------- eclipse.buildId=I200406251208 java.version=1.4.2 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_GB !ENTRY org.eclipse.core.runtime 4 2 Jul 28, 2004 09:31:23.28 !MESSAGE Problems occurred when invoking code from plug- in: "org.eclipse.core.runtime". !STACK 0 java.lang.NullPointerException at org.eclipse.cdt.make.ui.dialogs.DiscoveryOptionsBlock.isProviderCommandEnabled (DiscoveryOptionsBlock.java:524) at org.eclipse.cdt.make.ui.dialogs.DiscoveryOptionsBlock.isValid (DiscoveryOptionsBlock.java:583) at org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.update (TabFolderOptionBlock.java:195) at org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage.updateContainer (MakePropertyPage.java:108) at org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage.isValid (MakePropertyPage.java:119) at org.eclipse.jface.preference.PreferencePage.createControl (PreferencePage.java:275) at org.eclipse.jface.preference.PreferenceDialog$12.run (PreferenceDialog.java:1008) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.preference.PreferenceDialog.showPage (PreferenceDialog.java:1003) at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged (PreferenceDialog.java:529) at org.eclipse.jface.viewers.StructuredViewer$3.run (StructuredViewer.java:450) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged (StructuredViewer.java:448) at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect (StructuredViewer.java:708) at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected (StructuredViewer.java:726) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent (OpenStrategy.java:200) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195) at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.dialogs.PropertyDialogAction.run (PropertyDialogAction.java:177) at org.eclipse.ui.internal.ide.actions.ProjectPropertyDialogAction.run (ProjectPropertyDialogAction.java:69) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) !ENTRY org.eclipse.core.runtime 4 2 Jul 28, 2004 09:31:25.08 !MESSAGE Problems occurred when invoking code from plug- in: "org.eclipse.core.runtime". !STACK 0 java.lang.NullPointerException at org.eclipse.cdt.make.ui.dialogs.DiscoveryOptionsBlock.isProviderCommandEnabled (DiscoveryOptionsBlock.java:524) at org.eclipse.cdt.make.ui.dialogs.DiscoveryOptionsBlock.isValid (DiscoveryOptionsBlock.java:583) at org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.update (TabFolderOptionBlock.java:195) at org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.setVisible (TabFolderOptionBlock.java:185) at org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage.setVisible (MakePropertyPage.java:104) at org.eclipse.jface.preference.PreferenceDialog.selectCurrentPageAgain (PreferenceDialog.java:793) at org.eclipse.jface.preference.PreferenceDialog$8.handleError (PreferenceDialog.java:518) at org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged (PreferenceDialog.java:531) at org.eclipse.jface.viewers.StructuredViewer$3.run (StructuredViewer.java:450) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged (StructuredViewer.java:448) at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect (StructuredViewer.java:708) at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected (StructuredViewer.java:726) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent (OpenStrategy.java:200) at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195) at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java:106) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2572) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2301) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.dialogs.PropertyDialogAction.run (PropertyDialogAction.java:177) at org.eclipse.ui.internal.ide.actions.ProjectPropertyDialogAction.run (ProjectPropertyDialogAction.java:69) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) !ENTRY org.eclipse.cdt.ui 4 4 Jul 28, 2004 09:31:29.596 !MESSAGE Error !STACK 1 org.eclipse.core.runtime.CoreException: Missing Builder: org.eclipse.cdt.make.core.makeBuilder at org.eclipse.cdt.make.internal.core.BuildInfoFactory$BuildProperty.<init> (BuildInfoFactory.java:322) at org.eclipse.cdt.make.internal.core.BuildInfoFactory.create (BuildInfoFactory.java:377) at org.eclipse.cdt.make.core.MakeCorePlugin.createBuildInfo (MakeCorePlugin.java:110) at org.eclipse.cdt.make.ui.dialogs.SettingsBlock$8.run (SettingsBlock.java:376) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1673) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1693) at org.eclipse.cdt.make.ui.dialogs.SettingsBlock.performApply (SettingsBlock.java:419) at org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.performApply (TabFolderOptionBlock.java:162) at org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage$1.run (MakePropertyPage.java:78) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:303) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run (ProgressMonitorDialog.java:397) at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run (ProgressMonitorJobsDialog.java:251) at org.eclipse.ui.internal.progress.ProgressManager.run (ProgressManager.java:969) at org.eclipse.ui.internal.progress.ProgressManager$5.run (ProgressManager.java:991) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.progress.ProgressManager.runInUI (ProgressManager.java:987) at org.eclipse.cdt.make.internal.ui.properties.MakePropertyPage.performOk (MakePropertyPage.java:82) at org.eclipse.jface.preference.PreferenceDialog$11.run (PreferenceDialog.java:746) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.jface.preference.PreferenceDialog.okPressed (PreferenceDialog.java:728) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed (PreferenceDialog.java:199) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at org.eclipse.ui.dialogs.PropertyDialogAction.run (PropertyDialogAction.java:177) at org.eclipse.ui.internal.ide.actions.ProjectPropertyDialogAction.run (ProjectPropertyDialogAction.java:69) at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:129) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) !SUBENTRY 1 org.eclipse.cdt.make.core 4 -1 Jul 28, 2004 09:31:29.612 !MESSAGE Missing Builder: org.eclipse.cdt.make.core.makeBuilder Start VM: /usr/lib/java/bin/java -cp /eclipse/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /eclipse/eclipse -showsplash 600 -exitdata /eclipse/eclipse -exitdata 33800b -debug -consolelog -vm /usr/lib/java/bin/java -vmargs -cp /eclipse/startup.jar org.eclipse.core.launcher.Main
Vlad, One of the NPE seems to be related to Discovery .., I'm putting you on the Cc. It may be something you want to fix for 2.0.1 altough the code has change. Original poster: What do you mean: > debugging attributes to the GNU make in the "C/C++ Make Project" tab you were adding argument to the make command ? If you want to change the location of gcc edit the Makefile.
Sterren, I cannot reproduce the problem. Can you please provide the screen shot of the property page that causes this problem as well as the content of your project's '.project' file. Alain, in what area did the property page change? I have compared HEAD and branch versions and they look the same.
*** This bug has been marked as a duplicate of 72228 ***