java.lang.NullPointerException

Jenkins JIRA | Andrew Knapp | 5 years ago
  1. 0

    Downstream failure

    Google Groups | 5 years ago | teknokrat
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Projects constantly breaking

    Google Groups | 5 years ago | teknokrat
    java.lang.NullPointerException
  4. 0

    We have a rather full build envoironment where are about 200 jenkins projects are mainly doing several tests and some more jobs doing other thing like deploys etc. everything is chained in an functional manner and works and grows. Now recently i wanted to not hold too many initerresting builds of a certain project in the tree cause it does nothing than aggregate several triggers from other builds and start downstream ones. So i reduced max number of builds to store to 5 and not i get in the downstream build a Started by upstream project "TESTING-upstream" build number 2536 Started by upstream project "TESTING-upstream" build number 2537 Started by upstream project "TESTING-upstream" build number 2538 Started by upstream project "TESTING-upstream" build number 2539 Started by upstream project "TESTING-upstream" build number 2540 Started by upstream project "TESTING-upstream" build number 2541 Started by upstream project "TESTING-upstream" build number 2542 FATAL: null java.lang.NullPointerException at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:87) at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:46) at hudson.model.listeners.RunListener.fireStarted(RunListener.java:148) at hudson.model.Run.run(Run.java:1357) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) because e.g.2536 build is not there anymore when this project starts to run because it was delayed due to an restricted shared ressource. i think thats not ok to get an fatal here... the upstream build isnt here, ok but thats due to a large delay in our setup. if i archive 100 of the upstreams my overviews are rather ugly etc. but it works... so for now i changed that back but its a bit annoying

    Jenkins JIRA | 6 years ago | Philipp Mohrenweiser
    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 org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted()
    2. org.jvnet.hudson
      DownstreamBuildViewUpdateListener.onStarted
      1. org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:85)
      2. org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:46)
      2 frames
    3. Hudson
      Executor.run
      1. hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
      2. hudson.model.Run.run(Run.java:1408)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:238)
      5 frames