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

NPE when MultiJobBuilder reaches a disabled job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • multijob-plugin
    • None

      After upgrading MultiJobBuilder from 1.9 to 1.10, whenever the build process reaches a disabled job, it fails with an NPE like the one below. I'm using variously Jenkins 1.538 or 1.540, but have seen the error on both. Downgrading back to 1.9 appears to resolve the issue.

      Warning: can't execute one of Kill running Gradle daemons (QA2) builds, due to jenkins limitations.Starting build job Clean up repo state (QA2).
      FATAL: null
      java.lang.NullPointerException
      	at com.tikal.jenkins.plugins.multijob.MultiJobBuilder.perform(MultiJobBuilder.java:121)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      	at hudson.model.Build$BuildExecution.build(Build.java:199)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:160)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      	at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:70)
      	at hudson.model.Run.execute(Run.java:1679)
      	at hudson.model.Run.run(Run.java:1626)
      	at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:63)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      

            Unassigned Unassigned
            erhudy Edmund Rhudy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: