-
Bug
-
Resolution: Cannot Reproduce
-
Blocker
-
Centos 5.6
I get the following error when Jenkins executes the following goals clean install checkstyle:checkstyle pmd:pmd pmd:cpd checkstyle:checkstyle findbugs:findbugs jdepend:generate dependency:analyze for my maven project.
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
at hudson.plugins.analysis.core.MavenResultAction.isSuccessful(MavenResultAction.java:250)
at hudson.plugins.analysis.core.BuildHistory.getAction(BuildHistory.java:93)
at hudson.plugins.analysis.core.BuildHistory.getReferenceAction(BuildHistory.java:80)
at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:66)
at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:251)
at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:215)
at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:54)
at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:49)
at hudson.plugins.pmd.PmdReporterResult.<init>(PmdReporterResult.java:28)
at hudson.plugins.pmd.PmdMavenResultAction.createResult(PmdMavenResultAction.java:74)
at hudson.plugins.pmd.PmdMavenResultAction.createResult(PmdMavenResultAction.java:22)
at hudson.plugins.analysis.core.MavenResultAction.createAggregatedResult(MavenResultAction.java:127)
at hudson.plugins.analysis.core.MavenResultAction.update(MavenResultAction.java:106)
at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:525)
at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:492)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at hudson.model.Executor$1.call(Executor.java:534)
at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
at $Proxy51.end(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Fri May 04 14:16:41 CEST 2012
[INFO] Final Memory: 45M/84M
[INFO] ------------------------------------------------------------------------
channel stopped
[WARNINGS] Skipping publisher since build result is FAILURE
[ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #423
Build step 'Dependency analysis' marked build as failure
Skipping Cobertura coverage report as build was not UNSTABLE or better ...
[JDepend] JDepend plugin is ready
[JDepend] Starting JDepend file, outputting to /tmp/jdepend7707412064409170110.xml
[JDepend] Found 16608 classes in 1051 packages
Sending e-mails to: evaldez@hostnet.nl
[ci-game] evaluating rule: Build result
[ci-game] evaluating rule: Increased number of failed tests
[ci-game] evaluating rule: Increased number of passed tests
[ci-game] evaluating rule: Decreased number of failed tests
[ci-game] evaluating rule: Decreased number of passed tests
[ci-game] evaluating rule: Open HIGH priority tasks
[ci-game] evaluating rule: Open NORMAL priority tasks
[ci-game] evaluating rule: Open LOW priority tasks
[ci-game] evaluating rule: PMD violation
[ci-game] evaluating rule: pylint violation
[ci-game] evaluating rule: CPD violation
[ci-game] evaluating rule: Checkstyle violation
[ci-game] evaluating rule: FindBugs violation
[ci-game] evaluating rule: FXCop violation
[ci-game] evaluating rule: Simian violation
[ci-game] evaluating rule: StyleCop violation
[ci-game] evaluating rule: HIGH priority PMD warnings
[ci-game] evaluating rule: NORMAL priority PMD warnings
[ci-game] evaluating rule: LOW priority PMD warnings
[ci-game] evaluating rule: New HIGH priority Findbugs warnings
[ci-game] evaluating rule: New NORMAL priority Findbugs warnings
[ci-game] evaluating rule: New LOW priority Findbugs warnings
[ci-game] evaluating rule: Fixed HIGH priority Findbugs warnings
[ci-game] evaluating rule: Fixed NORMAL priority Findbugs warnings
[ci-game] evaluating rule: Fixed LOW priority Findbugs warnings
[ci-game] evaluating rule: Changed number of compiler warnings
[ci-game] evaluating rule: Changed number of checkstyle warnings
IRC notifier plugin: Sending notification to: #ontw
IRC notifier plugin: Notifying suspects
IRC notifier plugin: Sending notification to suspect: eunice
IRC notifier plugin: Notifying culprits
Finished: FAILURE
However if I just remove the pmd:pmd goal in the build configuration section the error does not happen. But I do not see any graphics in jenkins.
I looked for the same error in JIRA but had no luck finding the cause. Perhaps I am missing some setting in the configuration?