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

NullPointerException with m2 native projects in 1.87

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      M2 module builds seem to always fail under 1.87 with an exception like this one:

      started
      [] $ /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java
      -cp
      /opt/tomcat-hudson/webapps/hudson/WEB-INF/lib/maven-agent-1.87.jar:/opt/maven/core/boot/classworlds-1.1.jar
      hudson.maven.agent.Main /opt/maven
      /opt/tomcat-hudson/webapps/hudson/WEB-INF/lib/hudson-core-1.87.jar
      /opt/tomcat-hudson/webapps/hudson/WEB-INF/lib/maven-interceptor-1.87.jar
      channel started
      FATAL: null
      java.lang.NullPointerException
      at hudson.maven.agent.Main.launch(Main.java:65)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:127)
      at hudson.maven.MavenBuild$Builder.call(MavenBuild.java:105)
      at hudson.remoting.UserRequest.perform(UserRequest.java:57)
      at hudson.remoting.UserRequest.perform(UserRequest.java:22)
      at hudson.remoting.Request$2.run(Request.java:178)
      at
      edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
      at
      edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
      at java.lang.Thread.run(Thread.java:613)

      This did not happen in 1.85. See also:
      https://hudson.dev.java.net/servlets/ReadMsg?list=users&msgNo=1119 .

          [JENKINS-368] NullPointerException with m2 native projects in 1.87

          rsutphin created issue -

          Fixed in 1.88.

          Kohsuke Kawaguchi added a comment - Fixed in 1.88.
          Kohsuke Kawaguchi made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

              • Issue 366 has been marked as a duplicate of this issue. ***

          Kohsuke Kawaguchi added a comment - Issue 366 has been marked as a duplicate of this issue. ***
          Kohsuke Kawaguchi made changes -
          Link New: This issue is duplicated by JENKINS-366 [ JENKINS-366 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 130441 ] New: JNJira + In-Review [ 199816 ]

            Unassigned Unassigned
            rsutphin rsutphin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: