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

NPE with 1.14.1 release

XMLWordPrintable

      Jenkins stable release
      Github plugins 1.14.1

      Running a build with the set build status in build step (and the post-build had another status setter), resulted in the following:

      14:38:58 ERROR: Build step failed with exception
      14:38:58 java.lang.NullPointerException
      14:38:58 	at com.cloudbees.jenkins.GitHubSetCommitStatusBuilder.perform(GitHubSetCommitStatusBuilder.java:52)
      14:38:58 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      14:38:58 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      14:38:58 	at hudson.model.Build$BuildExecution.build(Build.java:205)
      14:38:58 	at hudson.model.Build$BuildExecution.doRun(Build.java:162)
      14:38:58 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
      14:38:58 	at hudson.model.Run.execute(Run.java:1741)
      14:38:58 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      14:38:58 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      14:38:58 	at hudson.model.Executor.run(Executor.java:408)
      14:38:58 Build step 'Set build status to "pending" on GitHub commit' marked build as failure
      14:38:59 Skipped archiving because build is not successful
      14:38:59 ERROR: Build step failed with exception
      14:38:59 java.lang.NullPointerException
      14:38:59 	at com.cloudbees.jenkins.GitHubCommitNotifier.updateCommitStatus(GitHubCommitNotifier.java:127)
      14:38:59 	at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:105)
      14:38:59 	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      14:38:59 	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      14:38:59 	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      14:38:59 	at hudson.model.Build$BuildExecution.post2(Build.java:185)
      14:38:59 	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      14:38:59 	at hudson.model.Run.execute(Run.java:1766)
      14:38:59 	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      14:38:59 	at hudson.model.ResourceController.execute(ResourceController.java:98)
      14:38:59 	at hudson.model.Executor.run(Executor.java:408)
      14:38:59 Build step 'Set build status on GitHub commit' marked build as failure
      

            lanwen Kirill Merkushev
            intel352 Jonathan Langevin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: