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.ErrorPa rserBlock.getErrorParserIDs(
> ErrorParserBlock.java:32)
> at
> org.eclipse.cdt.managedbuilder.internal.ui.ErrorPa rserBlock.getErrorParserIDs(
> ErrorParserBlock.java:70)
> at
> org.eclipse.cdt.ui.dialogs.AbstractErrorParserBloc k.setValues(AbstractErrorPar
> serBlock.java:172)
> at
> org.eclipse.cdt.ui.dialogs.AbstractErrorParserBloc k.initializeValues(AbstractE
> rrorParserBlock.java:161)
> at
> org.eclipse.cdt.ui.dialogs.AbstractErrorParserBloc k.createControl(AbstractErro
> rParserBlock.java:229)
> at
> org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.ad dTab(TabFolderOptionBlock.ja
> va:143)
> at
> org.eclipse.cdt.managedbuilder.ui.wizards.NewManag edProjectOptionPage$ManagedW
> izardOptionBlock.addTabs(NewManagedProjectOptionPa ge.java:59)
> at
> org.eclipse.cdt.ui.dialogs.TabFolderOptionBlock.cr eateContents(TabFolderOption
> Block.java:98)
> at
> org.eclipse.cdt.managedbuilder.internal.ui.Managed ProjectOptionBlock.createCon
> tents(ManagedProjectOptionBlock.java:51)
> at
> org.eclipse.cdt.ui.wizards.NewCProjectWizardOption Page.createControl(NewCProje
> ctWizardOptionPage.java:40)
> at org.eclipse.jface.wizard.Wizard.createPageControls (Wizard.java:161)
> at
> org.eclipse.cdt.managedbuilder.ui.wizards.NewManag edProjectWizard.createPageCo
> ntrols(NewManagedProjectWizard.java:87)
> at
> org.eclipse.jface.wizard.WizardDialog.createPageCo ntrols(WizardDialog.java:548
> )
> at org.eclipse.jface.wizard.WizardDialog.setWizard(Wi zardDialog.java:874)
> at org.eclipse.jface.wizard.WizardDialog.updateForPag e(WizardDialog.java:923)
> at org.eclipse.jface.wizard.WizardDialog.access$200(W izardDialog.java:65)
> at org.eclipse.jface.wizard.WizardDialog$4.run(Wizard Dialog.java:911)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:69)
> at org.eclipse.jface.wizard.WizardDialog.showPage(Wiz ardDialog.java:909)
> at
> org.eclipse.ui.internal.dialogs.NewWizardSelection Page.advanceToNextPage(NewWi
> zardSelectionPage.java:51)
> at
> org.eclipse.ui.internal.dialogs.NewWizardNewPage.d oubleClick(NewWizardNewPage.
> java:465)
> at
> org.eclipse.jface.viewers.StructuredViewer$1.run(S tructuredViewer.java:409)
> at
> org.eclipse.core.internal.runtime.InternalPlatform .run(InternalPlatform.java:6
> 15)
> at org.eclipse.core.runtime.Platform.run(Platform.jav a:747)
> at
> org.eclipse.jface.viewers.StructuredViewer.fireDou bleClick(StructuredViewer.ja
> va:407)
> at
> org.eclipse.jface.viewers.StructuredViewer.handleD oubleSelect(StructuredViewer
> .java:618)
> at
> org.eclipse.jface.viewers.StructuredViewer$4.widge tDefaultSelected(StructuredV
> iewer.java:721)
> at
> org.eclipse.jface.util.OpenStrategy.fireDefaultSel ectionEvent(OpenStrategy.jav
> a:189)
> at org.eclipse.jface.util.OpenStrategy.access$000(Ope nStrategy.java:33)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent( OpenStrategy.java:236)
> at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:954)
> at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:2595)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2298)
> at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:668)
> at org.eclipse.jface.window.Window.open(Window.java:6 48)
> at org.eclipse.ui.actions.NewProjectAction.run(NewPro jectAction.java:111)
> at org.eclipse.jface.action.Action.runWithEvent(Actio n.java:881)
> at
> org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionCo
> ntributionItem.java:915)
> at
> org.eclipse.jface.action.ActionContributionItem.ac cess$500(ActionContributionI
> tem.java:47)
> at
> org.eclipse.jface.action.ActionContributionItem$7. handleEvent(ActionContributi
> onItem.java:785)
> at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:82)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:954)
> at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:2595)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2298)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1377)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1348)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:254)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:141)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:96)
> at
> org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.ja
> va:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.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
_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"