Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
1.509
Description
If you create a matrix project and start to build it, but then kill the execution before all the configurations have really run, and then call Queue.schedule on one of these configurations, you can get an exception:
java.lang.NullPointerException at hudson.matrix.MatrixConfiguration.newBuild(MatrixConfiguration.java:240) at hudson.matrix.MatrixConfiguration.newBuild(MatrixConfiguration.java:70) at hudson.model.AbstractProject.createExecutable(AbstractProject.java:1305) at hudson.model.AbstractProject.createExecutable(AbstractProject.java:140) at hudson.model.Executor.run(Executor.java:212)
Here MatrixBuild lb is null.
Attachments
Issue Links
- is duplicated by
-
JENKINS-15356 NPE caused executor thread death
-
- Resolved
-
-
JENKINS-16276 NPE cause dead thread slave
-
- Resolved
-
- is related to
-
JENKINS-15199 Slaves turns to "Dead" state after connecting to remote machine
-
- Resolved
-
https://github.com/jenkinsci/jenkins/commit/1c00d3f65b0aea70df1c6d64c60bf9541eb4454f fixes a probably related stack trace: