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

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

      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

          [JENKINS-17964] NPE if one of the upstream builds is not found (our case 9294)

          Louis Roché created issue -
          Louis Roché made changes -
          Description Original: I have a nightly build who trigger a matrix and I have this error for every jobs in the matrix:

          {code}
          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)
          {code}

          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.

          https://groups.google.com/forum/#!topic/jenkinsci-users/nXQQ0yLg238
          New: I have a nightly build who trigger a matrix and I have this error for every jobs in the matrix:

          {code}
          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)
          {code}

          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
          Jens Brejner made changes -
          Summary Original: NPE if one of the upstream builds is not found New: NPE if one of the upstream builds is not found (our case 9294)
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149261 ] New: JNJira + In-Review [ 193044 ]

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

              Created:
              Updated:
              Resolved: