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

ci-game fails with code that uses findbugs suppresswarnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ci-game-plugin
    • None

      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

            redsolo redsolo
            depsypher depsypher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: