-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins ver. 1.593 is installed and I have a Master setup on Windows NT Server and Jenkins slave setup on Red Hat Enterprise Linux Server release 6.3. The agent environment variables are
Maven home: /app/home/jenkins/apache-maven-3.0.5
Java version: 1.6.0_34, vendor: Sun Microsystems Inc.
Java home: /app/platform/java/jdk1.6.0_34/jre
and the same Maven has been defined for the Slave node configurationJenkins ver. 1.593 is installed and I have a Master setup on Windows NT Server and Jenkins slave setup on Red Hat Enterprise Linux Server release 6.3. The agent environment variables are Maven home: /app/home/jenkins/apache-maven-3.0.5 Java version: 1.6.0_34, vendor: Sun Microsystems Inc. Java home: /app/platform/java/jdk1.6.0_34/jre and the same Maven has been defined for the Slave node configuration
I am getting the following error when the pom.xml is given under as a build step with clean -e -Dmaven.test.skip=true install as target. If the same is listed as the pre-build step to invoke the top level Maven targets selecting the Maven dropdown it runs fine.
Parsing POMs
ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
java.lang.NullPointerException
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1280)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
at ......remote call to CSPBuild(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at hudson.FilePath.act(FilePath.java:970)
at hudson.FilePath.act(FilePath.java:959)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:873)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:631)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1759)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:486)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
project=hudson.maven.MavenModuleSet@a2645a[ASR-15.01]
project.getModules()=[hudson.maven.MavenModule@1eda9d7[ASR-15.01/com.comcast.wholesale.asr:ASR-Service][ASR-15.01/com.comcast.wholesale.asr:ASR-Service][relativePath:Service], hudson.maven.MavenModule@e4055c[ASR-15.01/com.comcast.wholesale.asr:ASROrderService][ASR-15.01/com.comcast.wholesale.asr:ASROrderService][relativePath:], hudson.maven.MavenModule@1797121[ASR-15.01/com.comcast.wholesale.asr:ASRService][ASR-15.01/com.comcast.wholesale.asr:ASRService][relativePath:ear], hudson.maven.MavenModule@1d6542e[ASR-15.01/com.comcast.wholesale.asr:ASRService-Client][ASR-15.01/com.comcast.wholesale.asr:ASRService-Client][relativePath:Client]]
project.getRootModule()=hudson.maven.MavenModule@e4055c[ASR-15.01/com.comcast.wholesale.asr:ASROrderService][ASR-15.01/com.comcast.wholesale.asr:ASROrderService][relativePath:]
FATAL: null
java.lang.NullPointerException
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1280)
at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1097)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2677)
at hudson.remoting.UserRequest.perform(UserRequest.java:121)
at hudson.remoting.UserRequest.perform(UserRequest.java:49)
at hudson.remoting.Request$2.run(Request.java:324)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
at ......remote call to CSPBuild(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
at hudson.remoting.Channel.call(Channel.java:752)
at hudson.FilePath.act(FilePath.java:970)
at hudson.FilePath.act(FilePath.java:959)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:873)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:631)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533)
at hudson.model.Run.execute(Run.java:1759)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:486)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)