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

NPE from MatrixConfiguration.newBuild

XMLWordPrintable

      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.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: