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

NPE with 1.14.1 release

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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
      

        Attachments

          Activity

          intel352 Jonathan Langevin created issue -
          seadub Chris Williams made changes -
          Field Original Value New Value
          Summary NPE with 1.4.1 release NPE with 1.14.1 release
          seadub Chris Williams made changes -
          Description Jenkins stable release
          Github plugins 1.4.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
          }}
          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
          }}
          seadub Chris Williams made changes -
          Labels exception github-plugin github-plugin-1.4.1 exception github-plugin github-plugin-1.14.1
          lanwen Kirill Merkushev made changes -
          Description 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
          }}
          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}
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          lanwen Kirill Merkushev made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 167615 ] JNJira + In-Review [ 209552 ]

            People

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

              Dates

              Created:
              Updated:
              Resolved: