-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
Platform: All, OS: All
When running Cobertura on a Maven project, I'm seeing a NPE - note that the
exception is different than those of issue 2823. I've also tried 0.8.6-SNAPSHOT
for the Cobertura plugin, which is supposed to fix 2823, but it doesn't work.
Running with Hudson 1.296.
My exception is:
[INFO] Building jar:
/home/fgiudici/Hudson/jobs/BetterBeansBinding/workspace/src/core/target/BetterBeansBinding-1.2.2-SNAPSHOT.jar
[TASKS] Scipping maven reporter: there is already a result available.
[INFO] Preparing cobertura:cobertura
[WARNING] Removing: cobertura from forked lifecycle, to prevent recursive
invocation.
[HUDSON] Archiving
/home/fgiudici/Hudson/jobs/BetterBeansBinding/workspace/src/core/pom.xml to
/home/fgiudici/Hudson/jobs/BetterBeansBinding/modules/org.jdesktop.betterbeansbinding$BetterBeansBinding/builds/2009-04-09_10-18-35/archive/org.jdesktop.betterbeansbinding/BetterBeansBinding/1.2.2-SNAPSHOT/pom.xml
[HUDSON] Archiving
/home/fgiudici/Hudson/jobs/BetterBeansBinding/workspace/src/core/target/BetterBeansBinding-1.2.2-SNAPSHOT.jar
to
/home/fgiudici/Hudson/jobs/BetterBeansBinding/modules/org.jdesktop.betterbeansbinding$BetterBeansBinding/builds/2009-04-09_10-18-35/archive/org.jdesktop.betterbeansbinding/BetterBeansBinding/1.2.2-SNAPSHOT/BetterBeansBinding-1.2.2-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.calculateConcreteConfiguration(DefaultLifecycleExecutor.java:747)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:578)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1168)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1009)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:627)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at
org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at hudson.maven.agent.Main.launch(Main.java:158)
at hudson.maven.MavenBuilder.call(MavenBuilder.java:162)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:578)
at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:524)
at hudson.remoting.UserRequest.perform(UserRequest.java:92)
at hudson.remoting.UserRequest.perform(UserRequest.java:46)
at hudson.remoting.Request$2.run(Request.java:236)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
- duplicates
-
JENKINS-3468 NPE when running Cobertura from Maven
- Closed