java.lang.NullPointerException

Jenkins JIRA | John Mellor | 1 year ago
  1. 0

    Build completes satisfactorily, but NPE while triggering dependent builds. I upgraded to 1.623 to see if that resolved the fault, but the results are identical. The log shows only 4 of 10 builds triggered, but it may not have been flushed at the point of the fault. All builds are freestyle using multiple shell steps, with no Java or Groovy components or steps. This problem is 100% repeatable with certain builds. Tail of an example failing build: 17:44:08 Archiving artifacts 17:44:11 Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered 17:44:11 Triggering a new build of trap 17:44:11 Triggering a new build of snort-e 17:44:11 Triggering a new build of tcparchive_982 17:44:11 Triggering a new build of deepinspect 17:44:11 FATAL: null 17:44:11 java.lang.NullPointerException 17:44:11 at jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:111) 17:44:11 at jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:84) 17:44:11 at jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:141) 17:44:11 at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245) 17:44:11 at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:687) 17:44:11 at hudson.model.Build$BuildExecution.cleanUp(Build.java:200) 17:44:11 at hudson.model.Run.execute(Run.java:1788) 17:44:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 17:44:11 at hudson.model.ResourceController.execute(ResourceController.java:98) 17:44:11 at hudson.model.Executor.run(Executor.java:381) 17:44:11 Finished: SUCCESS

    Jenkins JIRA | 1 year ago | John Mellor
    java.lang.NullPointerException
  2. 0

    [JENKINS-29876] NPE when triggering downstream job - Jenkins JIRA

    jenkins-ci.org | 7 months ago
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Build completes satisfactorily, but NPE while triggering dependent builds. I upgraded to 1.623 to see if that resolved the fault, but the results are identical. The log shows only 4 of 10 builds triggered, but it may not have been flushed at the point of the fault. All builds are freestyle using multiple shell steps, with no Java or Groovy components or steps. This problem is 100% repeatable with certain builds. Tail of an example failing build: 17:44:08 Archiving artifacts 17:44:11 Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered 17:44:11 Triggering a new build of trap 17:44:11 Triggering a new build of snort-e 17:44:11 Triggering a new build of tcparchive_982 17:44:11 Triggering a new build of deepinspect 17:44:11 FATAL: null 17:44:11 java.lang.NullPointerException 17:44:11 at jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:111) 17:44:11 at jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:84) 17:44:11 at jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:141) 17:44:11 at hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245) 17:44:11 at hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:687) 17:44:11 at hudson.model.Build$BuildExecution.cleanUp(Build.java:200) 17:44:11 at hudson.model.Run.execute(Run.java:1788) 17:44:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 17:44:11 at hudson.model.ResourceController.execute(ResourceController.java:98) 17:44:11 at hudson.model.Executor.run(Executor.java:381) 17:44:11 Finished: SUCCESS

    Jenkins JIRA | 1 year ago | John Mellor
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at jenkins.triggers.ReverseBuildTrigger.shouldTrigger()
    2. jenkins.triggers
      ReverseBuildTrigger$1.shouldTriggerBuild
      1. jenkins.triggers.ReverseBuildTrigger.shouldTrigger(ReverseBuildTrigger.java:111)
      2. jenkins.triggers.ReverseBuildTrigger.access$000(ReverseBuildTrigger.java:84)
      3. jenkins.triggers.ReverseBuildTrigger$1.shouldTriggerBuild(ReverseBuildTrigger.java:141)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildTrigger.execute(BuildTrigger.java:245)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.cleanUp(AbstractBuild.java:687)
      3. hudson.model.Build$BuildExecution.cleanUp(Build.java:200)
      4. hudson.model.Run.execute(Run.java:1788)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      6. hudson.model.ResourceController.execute(ResourceController.java:98)
      7. hudson.model.Executor.run(Executor.java:381)
      7 frames