[ http://jira.codehaus.org/browse/MNG-388?page=comments#action_39013 ] Thomas Van de Velde commented on MNG-388: -----------------------------------------
This happens when there's no POM found. > Eclipse plugin nullpointer > -------------------------- > > Key: MNG-388 > URL: http://jira.codehaus.org/browse/MNG-388 > Project: m2 > Type: Bug > Versions: 2.0-alpha-2 > Reporter: Thomas Van de Velde > > > $ m2 eclipse:eclipse > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building Maven Default Project > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository > [INFO] maven-eclipse-plugin: checking for updates from central > [INFO] Retrieving release information for maven-eclipse-plugin > [INFO] maven-eclipse-plugin: resolved to version 2.0-alpha-1 from repository > cen > tral > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclips > e-plugin/2.0-alpha-1/maven-eclipse-plugin-2.0-alpha-1.jar > 7K downloaded > Downloading: > http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclips > e-plugin/2.0-alpha-1/maven-eclipse-plugin-2.0-alpha-1.jar.md5 > 0K downloaded > [INFO] [eclipse:eclipse] > --------------------------------------------------- > constituent[0]: file:/c:/dev/maven-2.0-alpha-2/lib/commons-cli-1.0-beta-2.jar > constituent[1]: file:/c:/dev/maven-2.0-alpha-2/lib/doxia-core-1.0-alpha-2.jar > constituent[2]: > file:/c:/dev/maven-2.0-alpha-2/lib/marmalade-core-1.0-alpha-3.ja > r > constituent[3]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-artifact-2.0-alpha-2.ja > r > constituent[4]: file:/c:/dev/maven-2.0-alpha-2/lib/maven-core-2.0-alpha-2.jar > constituent[5]: file:/c:/dev/maven-2.0-alpha-2/lib/maven-model-2.0-alpha-2.jar > constituent[6]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-monitor-2.0-alpha-2.jar > constituent[7]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-plugin-api-2.0-alpha-2. > jar > constituent[8]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-plugin-descriptor-2.0-a > lpha-2.jar > constituent[9]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-project-2.0-alpha-2.jar > constituent[10]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-reporting-api-2.0-alph > a-2.jar > constituent[11]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-script-marmalade-2.0-a > lpha-2.jar > constituent[12]: > file:/c:/dev/maven-2.0-alpha-2/lib/maven-settings-2.0-alpha-2.j > ar > constituent[13]: file:/c:/dev/maven-2.0-alpha-2/lib/oro-2.0.7.jar > constituent[14]: > file:/c:/dev/maven-2.0-alpha-2/lib/plexus-container-artifact-1. > 0-alpha-3.jar > constituent[15]: file:/c:/dev/maven-2.0-alpha-2/lib/plexus-i18n-1.0-beta-3.jar > constituent[16]: > file:/c:/dev/maven-2.0-alpha-2/lib/plexus-marmalade-factory-1.0 > -alpha-3.jar > constituent[17]: > file:/c:/dev/maven-2.0-alpha-2/lib/wagon-http-lightweight-1.0-a > lpha-3.jar > constituent[18]: > file:/c:/dev/maven-2.0-alpha-2/lib/wagon-provider-api-1.0-alpha > -3.jar > --------------------------------------------------- > java.lang.NullPointerException > at > org.apache.maven.plugin.eclipse.EclipseWriter.write(EclipseWriter.jav > a:51) > at > org.apache.maven.plugin.eclipse.EclipsePlugin.execute(EclipsePlugin.j > ava:65) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:415) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Defa > ultLifecycleExecutor.java:169) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:90) > at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:246) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) > at org.codehaus.classworlds.Launcher.main(Launcher.java:363) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]