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

NPE if one of the upstream builds is not found (our case 9294)

XMLWordPrintable

      I have a nightly build who trigger a matrix and I have this error for every jobs in the matrix:

      Started by upstream project "Windows Results" build number 12418
      originally caused by:
       Started by upstream project "Supervisor Test Windows Nightly" build number 615
       originally caused by:
        Started by upstream project "Nightly Build Hoops 3DX main line Windows 64" build number 541
        originally caused by:
         Started by an SCM change
      Building remotely on Slave2
      FATAL: null
      java.lang.NullPointerException
      	at net.praqma.jenkins.plugin.reloaded.Util.getUpstreamRebuildAction(Util.java:84)
      	at net.praqma.jenkins.plugin.reloaded.Util.getDownstreamRebuildActionFromMatrixBuild(Util.java:63)
      	at net.praqma.jenkins.plugin.reloaded.MatrixReloadedEnvironmentContributor.buildEnvironmentFor(MatrixReloadedEnvironmentContributor.java:44)
      	at hudson.model.Run.getEnvironment(Run.java:2045)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:931)
      	at hudson.matrix.MatrixRun$MatrixRunExecution.decideWorkspace(MatrixRun.java:175)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567)
      	at hudson.model.Run.execute(Run.java:1575)
      	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:237)
      

      I don't have the problem with the daily build who trigger not all jobs in the matrix. So I was thinking about a heavy load problem, but it seems to be something different.

      the 3 upstream projects are still in jenkins. But not every workspaces.

      https://groups.google.com/forum/#!topic/jenkinsci-users/nXQQ0yLg238

            praqma Praqma Support
            l_roche Louis Roché
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: