Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26557

Unable to run the build step in Jenkins slave job but works as a pre build step when i invoke top level Maven targets

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      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)

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              bsdjenci Sushma Kaniganti
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: