Jenkins JIRA | Jesse Glick | 2 years ago
  1. 0

    h3.Kohsuke's updated summary In 1.485, there's a bug that causes Jenkins to return null when someone is listing historical build records. The caller is not expecting null return value, so this normally results in NullPointerException. Because there are numerous code inside Jenkins that touches build history, such NullPointerException can occur in a large number of different places. If you are not sure your NullPointerException is just another manifestation of this bug or an unrelated bug, please feel free to file a separate ticket, and mention this ticket as a possible cause so that the plugin developers won't get confused. h3.Original bug report running the build fails with the following error: ERROR: Processing failed due to a bug in the code. Please report this to java.lang.NullPointerException at hudson.tasks.LogRotator.perform( at hudson.model.Job.logRotate( at hudson.model.Run.execute( at hudson.maven.MavenBuild.access$600( at hudson.maven.MavenBuild$ProxyImpl2.close( at hudson.maven.AbstractMavenBuilder.end( at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at project=hudson.maven.MavenModuleSet@280d8b87[deploy sdk]

    Jenkins JIRA | 4 years ago | Phumzile Saleni
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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 hudson.model.AbstractBuild$
    2. Hudson
      1. hudson.model.AbstractBuild$
      2. hudson.model.Run.execute(
      2 frames
    3. Hudson Maven Embedder
      1 frame
    4. Hudson
      1. hudson.model.ResourceController.execute(
      2 frames