-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Ubuntu Linux, maven 3.0.3
I am trying to execute maven 3 with several threads e.g mvn clean
install -T1.5C and I am getting following stacktrace. If I execute
maven directly from command line it works.
This happens with maven 3.0.3 and both Jenkins 1.404 (with latests
plugins) and Hudson 1.395.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.879s (Wall Clock)
[INFO] Finished at: Tue Mar 29 11:20:32 EEST 2011
[INFO] Final Memory: 9M/109M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95)
at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at hudson.maven.Maven3Builder$FilterImpl.executeAsync(Maven3Builder.java:226)
at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:129)
at hudson.maven.Maven3Builder$MavenExecutionListener.reccordProjectSucceeded(Maven3Builder.java:417)
at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:390)
at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74)
at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91)
... 10 more
channel stopped
- is duplicated by
-
JENKINS-8388 Maven plugin unable to make use of Maven 3's Paralell Builds
- Resolved