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

NPE in Slave.createLauncher() for Matrix and Pipeline jobs

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Jenkins ver. 1.566m Java 7u25, Windows Server 2008 master, Debian & Ubuntu slaves
    • Jenkins 2.60.3

      Jenkins failed some test on 2 configurations out of a 5-configuration matrix build, with the other 3 builds completing normally. Both failed slaves leave no additional information for diagnosing the root cause:

      13:49:24 Started by upstream project "fast-tests" build number 920
      13:49:24 originally caused by:
      13:49:24  Started by user User
      13:49:24 FATAL: null
      13:49:24 java.lang.NullPointerException
      13:49:24 	at hudson.model.Slave.createLauncher(Slave.java:359)
      13:49:24 	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:559)
      13:49:24 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:476)
      13:49:24 	at hudson.model.Run.execute(Run.java:1710)
      13:49:24 	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      13:49:24 	at hudson.model.ResourceController.execute(ResourceController.java:88)
      13:49:24 	at hudson.model.Executor.run(Executor.java:231)
      

      JENKINS-21999 seemed to be a similar issue but the line numbers have changed and that issue was fixed, whereas this issue still occurs.

          [JENKINS-23305] NPE in Slave.createLauncher() for Matrix and Pipeline jobs

          trejkaz created issue -
          Oleg Nenashev made changes -
          Assignee New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 155870 ] New: JNJira + In-Review [ 185513 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Oleg Nenashev made changes -
          Labels New: pipeline
          Oleg Nenashev made changes -
          Summary Original: NPE on running some slaves of a matrix build - failure with no explanation New: NPE in Slave.createLauncher() for Matrix and Pipeline jobs
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-38527 [ JENKINS-38527 ]
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-2173 (Web Link)" [ 18399 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-46067 [ JENKINS-46067 ]
          Oleg Nenashev made changes -
          Link New: This issue duplicates JENKINS-38527 [ JENKINS-38527 ]
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.60.3
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]

            oleg_nenashev Oleg Nenashev
            trejkaz trejkaz
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: