maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Möller (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (MNG-3729) Maven 2.0.10-RC10 fails with NPE on assembly:assembly
Date Tue, 26 Aug 2008 16:29:26 GMT

    [ http://jira.codehaus.org/browse/MNG-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146067#action_146067
] 

Thorsten Möller commented on MNG-3729:
--------------------------------------

Same exception also with RC11:

[INFO] ------------------------------------------------------------------------
[INFO] Building OSIRIS Next
[INFO]    task-segment: [assembly:assembly] (aggregator-style)
[INFO] ------------------------------------------------------------------------
[INFO] Preparing assembly:assembly
[INFO] ------------------------------------------------------------------------
[INFO] Building OSIRIS Next
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-maven}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] [site:attach-descriptor]
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
	at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1426)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:410)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:675)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1187)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1030)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:626)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:538)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1187)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1025)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:626)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:551)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:521)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:369)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:266)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:302)
	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:585)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 33 seconds
[INFO] Finished at: Tue Aug 26 18:24:29 CEST 2008
[INFO] Final Memory: 42M/126M
[INFO] ------------------------------------------------------------------------



> Maven 2.0.10-RC10 fails with NPE on assembly:assembly
> -----------------------------------------------------
>
>                 Key: MNG-3729
>                 URL: http://jira.codehaus.org/browse/MNG-3729
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.10
>         Environment: Mac OS X 10.5.4
>            Reporter: Thorsten Möller
>         Attachments: bin.xml, pom.xml
>
>
> Multi-module project fails with NPE on assembly:assembly (assembly plugin used 2.2-beta-1;
2.2-beta-2 can not be used because of http://jira.codehaus.org/browse/MASSEMBLY-314 bug)
> Command used was "mvn clean install assembly:assembly eclipse:eclipse".
> Same configuration (see attached POM) works with Maven 2.0.9. Below you will find relevant
excerpt from the build trace.
> Note: Some internal/irrelevant information were removed from attached POM. Additionally,
assembly descriptor of default assembly is attached.
> Best regards,
> Thorsten
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Building OSIRIS Next 
> [INFO]    task-segment: [assembly:assembly] (aggregator-style) 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Preparing assembly:assembly 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Building OSIRIS Next 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] [enforcer:enforce {execution: enforce-maven}] 
> [INFO] [tools:copy-legal-files {execution: install-legal-files}] 
> [INFO] [site:attach-descriptor] 
> [INFO] Preparing source:jar 
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. 
> [INFO] ------------------------------------------------------------------------ 
> [ERROR] FATAL ERROR 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] null 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Trace 
> java.lang.NullPointerException 
>         at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1426)

>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:410)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:682)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1194)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1037)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:634)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:546)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1194)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1032)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:634)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:559)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:529)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:377)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:274)

>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:189)

>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) 
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) 
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:302) 
>         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:585) 
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) 
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) 
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) 
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375) 
> [INFO] ------------------------------------------------------------------------ 
> [INFO] Total time: 55 minutes 18 seconds 
> [INFO] Finished at: Mon Aug 25 17:18:11 CEST 2008 
> [INFO] Final Memory: 36M/126M 
> [INFO] ------------------------------------------------------------------------ 

-- 
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

       

Mime
View raw message