It's interesting, the lifecycle mapping file under workspace/.metadata/.plugins/org.eclipse.m2e.core/lifecycle-mapping-metadata.xml is an empty file. This is a fresh install so I don't think I nuked the file.
I tried adding a stub with:
 <pluginManagement>
  <plugins>
  </plugins>
 </pluginManagement>
That didn't seem to help.


On 11/27/2012 09:42 AM, Matthew Piggott wrote:
It won't be there! ;)


On 27 November 2012 07:58, Marty Kube <[email protected] <mailto:[email protected]>> wrote:

    Okay thanks.
    Let me see if I can find the life cycle mappings.  How will I be
    able to identify the missing group/artifact/version?

    Sent from my iPhone

    On Nov 27, 2012, at 1:23 AM, Matthew Piggott
    <[email protected] <mailto:[email protected]>> wrote:

    I haven't looked at this code, but in the past this type of error
    was caused by a missing group/artifact/version element in the
    lifecycle mappings.


    On 26 November 2012 19:30, Marty Kube
    <[email protected]
    <mailto:[email protected]>> wrote:

        Hi,

        I'm trying to use m2eclispe with the mahout project.  I'm
        getting a  "Cannot parse lifecycle mapping metadata..."
        error.  When I try to open project > properties > maven >
        "lifecycle mapping" to fix the issue I get a null pointer
        exception.  Screen shot and stack trace from the eclipse
        error log are show below.

        Any suggestions?

        
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)

        _______________________________________________
        m2e-users mailing list
        [email protected] <mailto:[email protected]>
        https://dev.eclipse.org/mailman/listinfo/m2e-users


    _______________________________________________
    m2e-users mailing list
    [email protected] <mailto:[email protected]>
    https://dev.eclipse.org/mailman/listinfo/m2e-users

    _______________________________________________
    m2e-users mailing list
    [email protected] <mailto:[email protected]>
    https://dev.eclipse.org/mailman/listinfo/m2e-users




_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to