[ 
http://jira.codehaus.org/browse/MVERSIONS-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229032#action_229032
 ] 

jieryn commented on MVERSIONS-118:
----------------------------------

Somehow my original description was eaten... not sure. Anyway, here is what I 
had:

{code}[ERROR] Failed to execute goal 
org.codehaus.mojo:versions-maven-plugin:1.1:set (default-cli) on project dumps: 
Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:1.1:set 
failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:versions-maven-plugin:1.1:set (default-cli) on project dumps: 
Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:1.1:set 
failed.
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:149)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:77)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:69)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:82)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:54)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.singleThreadedBuild(DefaultLifecycleExecutor.java:218)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:190)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:246)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:95)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:430)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:160)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:124)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:600)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
default-cli of goal org.codehaus.mojo:versions-maven-plugin:1.1:set failed.
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:114)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:133)
        ... 19 more
Caused by: java.lang.NullPointerException
        at org.codehaus.mojo.versions.SetMojo.addChange(SetMojo.java:74)
        at org.codehaus.mojo.versions.SetMojo.execute(SetMojo.java:98)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
        ... 20 more
[ERROR] 
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] {code}

> versions:set takes NPE with maven 3
> -----------------------------------
>
>                 Key: MVERSIONS-118
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-118
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Bug
>         Environment: [INFO] Maven Version: 3.0-beta-1
> [INFO] JDK Version: 1.6.0 normalized as: 1.6.0
> [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 2.6.32.16
>            Reporter: jieryn
>            Priority: Minor
>


-- 
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to