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

CI game fails with NPE

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      after updating the plugin, all builds fail:

      ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception
      java.lang.NullPointerException
      	at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:44)
      	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:693)
      	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:668)
      	at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:646)
      	at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
      	at hudson.model.Run.run(Run.java:1420)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:230)
      

        Attachments

          Activity

          Hide
          junqueira_raphael Junqueira Raphael added a comment -

          Same Here :

          • Jenkins ver. 1.450
          • Jenkins Continuous Integration game 1.18

          ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception
          java.lang.NullPointerException
          at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:44)
          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:700)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675)
          at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653)
          at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
          at hudson.model.Run.run(Run.java:1453)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:238)

          Show
          junqueira_raphael Junqueira Raphael added a comment - Same Here : Jenkins ver. 1.450 Jenkins Continuous Integration game 1.18 ERROR: Publisher hudson.plugins.cigame.GamePublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.cigame.model.ScoreCard.record(ScoreCard.java:44) 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:700) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1453) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238)
          Hide
          junqueira_raphael Junqueira Raphael added a comment -

          Note : removing old configuration seems to fix the problem

          Show
          junqueira_raphael Junqueira Raphael added a comment - Note : removing old configuration seems to fix the problem
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Yann PETIT
          Path:
          src/main/java/hudson/plugins/cigame/model/ScoreCard.java
          src/test/java/hudson/plugins/cigame/model/ScoreCardTest.java
          http://jenkins-ci.org/commit/ci-game-plugin/8d7af4a10ae1965e50b0d92a8ad2ab100d344e8e
          Log:
          JENKINS-11041

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Yann PETIT Path: src/main/java/hudson/plugins/cigame/model/ScoreCard.java src/test/java/hudson/plugins/cigame/model/ScoreCardTest.java http://jenkins-ci.org/commit/ci-game-plugin/8d7af4a10ae1965e50b0d92a8ad2ab100d344e8e Log: JENKINS-11041
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Olivier Lamy
          Path:
          src/main/java/hudson/plugins/cigame/model/ScoreCard.java
          src/test/java/hudson/plugins/cigame/model/ScoreCardTest.java
          http://jenkins-ci.org/commit/ci-game-plugin/4bdb6194ed2b54b51b96e599d4b5ddc07e48ec97
          Log:
          Merge pull request #4 from finalspy/master

          Fix for Jira JENKINS-11041
          Thanks !

          Compare: https://github.com/jenkinsci/ci-game-plugin/compare/fb30db1...4bdb619

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/hudson/plugins/cigame/model/ScoreCard.java src/test/java/hudson/plugins/cigame/model/ScoreCardTest.java http://jenkins-ci.org/commit/ci-game-plugin/4bdb6194ed2b54b51b96e599d4b5ddc07e48ec97 Log: Merge pull request #4 from finalspy/master Fix for Jira JENKINS-11041 Thanks ! Compare: https://github.com/jenkinsci/ci-game-plugin/compare/fb30db1...4bdb619
          Hide
          evernat evernat added a comment -

          This is merged, so I suppose this is fixed.

          Show
          evernat evernat added a comment - This is merged, so I suppose this is fixed.

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              voorth voorth
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: