I had this problem. I ran mvn in the Mahout root directory to create an eclipse project that loaded and compiled with no errors.
On Mon, Nov 26, 2012 at 7:16 PM, Marty Kube <[email protected]> wrote: > Sorry, I couldn't figure out how to reply to the original thread: > > http://mail-archives.apache.org/mod_mbox/mahout-user/201211.mbox/%3CCAMBwUE4WyE8YcXxxTAdDvNzP_UdYW9GyiSAd%3DJnztuDXCtuJuQ%40mail.gmail.com%3E > > I'm having the same issue. The final recommendation of doing a better job > of configuring eclispe is not working out. I'm getting an error in the > m2eclispse plug-in. The eclipse error log has this stack trace shown below. > See the screen shot link below as well. I think this is a m2eclipse issue. > I'll try to raise it over there. > > Screen shot: > > http://beavercreekconsulting.com/img/eclipse-mahout-m2eclipse-trouble.png > > Message: Problems occurred when invoking code from plug-in: > "org.eclipse.jface". > > Java.lang.NullPointerException > at > org.eclipse.m2e.core.ui.internal.preferences.LifecycleMappingsViewer.setTarget(LifecycleMappingsViewer.java:553) > at > org.eclipse.m2e.core.ui.internal.preferences.LifecycleMappingPropertyPage.setElement(LifecycleMappingPropertyPage.java:45) > at > org.eclipse.ui.internal.dialogs.RegistryPageContributor.createPage(RegistryPageContributor.java:166) > at > org.eclipse.ui.internal.dialogs.PropertyPageNode.createPage(PropertyPageNode.java:56) > at > org.eclipse.jface.preference.PreferenceDialog.createPage(PreferenceDialog.java:1340) > at > org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.createPage(FilteredPreferenceDialog.java:377) > at > org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1231) > at > org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:675) > at > org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:709) > at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) > at > org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:705) > at > org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888) > at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) > at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) > at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) > at > org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886) > at > org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226) > at > org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251) > at > org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262) > at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256) > at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433) > at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) > at > org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) > at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3529) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3182) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) > at org.eclipse.jface.window.Window.open(Window.java:801) > at > org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:158) > at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) > at > org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) > at > org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) > at > org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179) > at > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923) > at > org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86) > at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) > 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:597) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) > at org.eclipse.equinox.launcher.Main.run(Main.java:1438) > at org.eclipse.equinox.launcher.Main.main(Main.java:1414) > > > -- Bruce Williams -------------------------------------------------------------------------- Concepts, like individuals, have their histories and are just as incapable of withstanding the ravages of time as are individuals. But in and through all this they retain a kind of homesickness for the scenes of their childhood. Soren Kierkegaard
