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

Null Pointer Exception with disabled downstream job

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Duplicate
    • build-pipeline-plugin
    • None
    • Jquery plugin: 1.7.2-1
      Parameterized trigger plugin: 2.28
      Build Pipeline Plugin: 1.4.7
      Jenkins version: 1.624

    Description

      Scenario: upstream job completing successfully, and it has multiple downstream jobs, some of which are disabled
      Result: Null pointer exception and no downstream jobs are started

      Output:
      Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
      FATAL: null
      java.lang.NullPointerException
      at jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:111)
      at jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:84)
      at jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:141)
      at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245)
      at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:687)
      at hudson.model.Build$BuildExecution.cleanUp(Build.java:200)
      at hudson.model.Run.execute(Run.java:1788)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:381)
      Finished: UNSTABLE

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gkresge Greg Kresge
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: