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

Null Pointer Exception on github payload push AND polling to/from Jenkins

XMLWordPrintable

      we recently upgraded Jenkins and It's plugins and we are experiencing an issue with failure to build on git commit events, which prior to the update was working properly. We have confirmed that the issue is this NPE in Jenkins:

      Poked SocureService-Dev-Static-Checks
      Jan 21, 2015 7:29:18 AM INFO com.cloudbees.jenkins.GitHubWebHook processGitHubPayload
      Poked SocureService-Dev-with-tests
      Jan 21, 2015 7:29:18 AM INFO com.cloudbees.jenkins.GitHubWebHook processGitHubPayload
      Poked SocureService-Production-Patches
      Jan 21, 2015 7:29:18 AM INFO com.cloudbees.jenkins.GitHubWebHook processGitHubPayload
      Poked stage-service
      Jan 21, 2015 7:29:18 AM SEVERE com.cloudbees.jenkins.GitHubPushTrigger$1 runPolling
      Failed to record SCM polling
      java.lang.NullPointerException
      at org.jenkinsci.plugins.chromedriver.EnvironmentContributorImpl.buildEnvironmentFor(EnvironmentContributorImpl.java:23)
      at hudson.model.Run.getEnvironment(Run.java:2224)
      at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:905)
      at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:56)
      at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:167)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:563)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:525)
      at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:380)
      at hudson.scm.SCM.poll(SCM.java:397)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1441)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1344)
      at com.cloudbees.jenkins.GitHubPushTrigger$1.runPolling(GitHubPushTrigger.java:81)
      at com.cloudbees.jenkins.GitHubPushTrigger$1.run(GitHubPushTrigger.java:106)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)

            Unassigned Unassigned
            sunilmadhu sunil madhu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: