java.lang.NullPointerException

Jenkins JIRA | Chris Engler | 4 years ago
  1. 0

    I added code that looks like this and started getting failing builds... @edu.umd.cs.findbugs.annotations.SuppressWarnings( value="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE", justification="UGH: figure out if findbugs is really wrong about this") public class Foo { ... } [ci-game] evaluating rule: Build result [ci-game] scored: 1.0 [ci-game] evaluating rule: Increased number of failed tests [ci-game] evaluating rule: Increased number of passed tests [ci-game] evaluating rule: Decreased number of failed tests [ci-game] evaluating rule: Decreased number of passed tests [ci-game] evaluating rule: Increased number of failed tests [ci-game] evaluating rule: Increased number of passed tests [ci-game] evaluating rule: Decreased number of failed tests [ci-game] evaluating rule: Decreased number of passed tests [ci-game] evaluating rule: Open HIGH priority tasks [ci-game] evaluating rule: Open NORMAL priority tasks [ci-game] evaluating rule: Open LOW priority tasks [ci-game] evaluating rule: Open HIGH priority tasks [ci-game] evaluating rule: Open NORMAL priority tasks [ci-game] evaluating rule: Open LOW priority tasks [ci-game] evaluating rule: Open HIGH priority tasks [ci-game] evaluating rule: Open NORMAL priority tasks [ci-game] evaluating rule: Open LOW priority tasks [ci-game] evaluating rule: PMD violation [ci-game] evaluating rule: pylint violation [ci-game] evaluating rule: CPD violation [ci-game] evaluating rule: Checkstyle violation [ci-game] evaluating rule: FindBugs violation [ci-game] evaluating rule: FXCop violation [ci-game] evaluating rule: Simian violation [ci-game] evaluating rule: StyleCop violation ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:42) at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:111) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60) at hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:662) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:638) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:616) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:170) at hudson.model.Run.run(Run.java:1417) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Finished: FAILURE

    Jenkins JIRA | 6 years ago | depsypher
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.plugins.cigame.model.ScoreCard.record()
    2. hudson.plugins.cigame
      GamePublisher.perform
      1. hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:42)
      2. hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:111)
      3. hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:60)
      4. hudson.plugins.cigame.GamePublisher.perform(GamePublisher.java:45)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:785)
      4. hudson.model.Build$BuildExecution.cleanUp(Build.java:192)
      5. hudson.model.Run.execute(Run.java:1601)
      6. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      7. hudson.model.ResourceController.execute(ResourceController.java:88)
      8. hudson.model.Executor.run(Executor.java:236)
      8 frames