java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 6#165105110
    via GitHub by jan-cerny
    ,
  • 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: {code:java} 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 {code}
    via by Jonathan Langevin,
  • 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: {code:java} 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 {code}
    via by Jonathan Langevin,
  • GitHub comment 15#62297555
    via GitHub by mellanox-github
    ,
  • GitHub comment 15#62297613
    via GitHub by mellanox-github
    ,
  • GitHub comment 15#62297346
    via GitHub by mellanox-github
    ,
    • java.lang.NullPointerException at com.cloudbees.jenkins.GitHubCommitNotifier.perform(GitHubCommitNotifier.java:52) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1601) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241)

    Users with the same issue

    Unknown visitor1 times, last one,