Date: Mon, 13 Sep 2004 12:37:57 -0600 From: Greg Lewis <glewis@eyesbeyond.com> To: blamar <blamar@vt.edu> Cc: java@freebsd.org Subject: Re: Eclipse-CDT unable to create working project Message-ID: <20040913183757.GA49107@misty.eyesbeyond.com> In-Reply-To: <41EA8D20@zathras> References: <41EA8D20@zathras>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 13, 2004 at 02:22:33PM -0400, blamar wrote: > When creating a new project in Eclipse (C++ Managed Makefile Project), I > recieve the following error message, but the project can still be created. > > ------------------------------------------------------------ > Begin Error > > !SESSION Sep 13, 2004 14:01:04.217 > --------------------------------------------- > eclipse.buildId=200406251208 > java.version=1.4.2-p6 > java.vendor=Sun Microsystems Inc. > BootLoader constants: OS=freebsd, ARCH=x86, WS=gtk, NL=en > > !ENTRY org.eclipse.core.runtime 4 2 Sep 13, 2004 14:01:04.217 > !MESSAGE Problems occurred when invoking code from plug-in: > "org.eclipse.core.runtime". > !STACK 0 > java.lang.NullPointerException > at > org.eclipse.cdt.managedbuilder.internal.ui.ErrorParserBlock.getErrorParserIDs( > ErrorParserBlock.java:32) > at > org.eclipse.cdt.managedbuilder.internal.ui.ErrorParserBlock.getErrorParserIDs( > ErrorParserBlock.java:70) > at > org.eclipse.cdt.ui.dialogs.AbstractErrorParserBlock.setValues(AbstractErrorPar > serBlock.java:172) > at > org.eclipse.cdt.ui.dialogs.AbstractErrorParserBlock.initializeValues(AbstractE > rrorParserBlock.java:161) > at > org.eclipse.cdt.ui.dialogs.AbstractErrorParserBlock.createControl(AbstractErro > rParserBlock.java:229) > at > org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.addTab(TabFolderOptionBlock.ja > va:143) > at > org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedProjectOptionPage$ManagedW > izardOptionBlock.addTabs(NewManagedProjectOptionPage.java:59) > at > org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.createContents(TabFolderOption > Block.java:98) > at > org.eclipse.cdt.managedbuilder.internal.ui.ManagedProjectOptionBlock.createCon > tents(ManagedProjectOptionBlock.java:51) > at > org.eclipse.cdt.ui.wizards.NewCProjectWizardOptionPage.createControl(NewCProje > ctWizardOptionPage.java:40) > at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:161) > at > org.eclipse.cdt.managedbuilder.ui.wizards.NewManagedProjectWizard.createPageCo > ntrols(NewManagedProjectWizard.java:87) > at > org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:548 > ) > at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:874) > at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:923) > at org.eclipse.jface.wizard.WizardDialog.access$200(WizardDialog.java:65) > at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:911) > at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) > at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:909) > at > org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPage(NewWi > zardSelectionPage.java:51) > at > org.eclipse.ui.internal.dialogs.NewWizardNewPage.doubleClick(NewWizardNewPage. > java:465) > at > org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:409) > at > org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:6 > 15) > at org.eclipse.core.runtime.Platform.run(Platform.java:747) > at > org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.ja > va:407) > at > org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer > .java:618) > at > org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredV > iewer.java:721) > at > org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.jav > a:189) > at org.eclipse.jface.util.OpenStrategy.access$000(OpenStrategy.java:33) > at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:236) > 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.actions.NewProjectAction.run(NewProjectAction.java:111) > at org.eclipse.jface.action.Action.runWithEvent(Action.java:881) > at > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCo > ntributionItem.java:915) > at > org.eclipse.jface.action.ActionContributionItem.access$500(ActionContributionI > tem.java:47) > at > org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributi > onItem.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.ja > va: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.j > ava: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) > > End Error > --------------------------------------------------------------- > > The project will still be created...however I cannot build the project due to > errors with the Makefile: > > make -k clean all > "makefile", line 7: Need an operator > "makefile", line 12: Need an operator > "makefile", line 13: Missing dependency operator > "makefile", line 14: Need an operator > "makefile", line 15: Missing dependency operator > "makefile", line 16: Need an operator > "makefile", line 30: Need an operator > make: fatal errors encountered -- cannot continue > Build complete for project test2 > > > Any insight you could provide would be awesome. Thank you for all the hard > work. Does it maybe create GNU make compatible files only? What if you substitute "gmake" for "make" when trying to build? -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040913183757.GA49107>