java.lang.NullPointerException

Jenkins JIRA | Frantisek Veverka | 2 years ago
  1. 0

    When having a job that periodically polls SCM, Subversion Polling Log shows Null Pointer Exception in Chromedriver plugin class: Subversion Polling Log Started on Dec 4, 2014 12:23:00 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@605c72[lalala] java.lang.NullPointerException at org.jenkinsci.plugins.chromedriver.EnvironmentContributorImpl.buildEnvironmentFor(EnvironmentContributorImpl.java:23) at hudson.model.Run.getEnvironment(Run.java:2267) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:905) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1356) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject._poll(AbstractProject.java:1435) at hudson.model.AbstractProject.poll(AbstractProject.java:1338) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I think it is related to the method hudson.model.Computer.currentComputer() that returns null since Jenkins 1.591: http://javadoc.jenkins-ci.org/hudson/model/Computer.html#currentComputer()

    Jenkins JIRA | 2 years ago | Frantisek Veverka
    java.lang.NullPointerException
  2. 0

    When having a job that periodically polls SCM, Subversion Polling Log shows Null Pointer Exception in Chromedriver plugin class: Subversion Polling Log Started on Dec 4, 2014 12:23:00 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@605c72[lalala] java.lang.NullPointerException at org.jenkinsci.plugins.chromedriver.EnvironmentContributorImpl.buildEnvironmentFor(EnvironmentContributorImpl.java:23) at hudson.model.Run.getEnvironment(Run.java:2267) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:905) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1356) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject._poll(AbstractProject.java:1435) at hudson.model.AbstractProject.poll(AbstractProject.java:1338) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I think it is related to the method hudson.model.Computer.currentComputer() that returns null since Jenkins 1.591: http://javadoc.jenkins-ci.org/hudson/model/Computer.html#currentComputer()

    Jenkins JIRA | 2 years ago | Frantisek Veverka
    java.lang.NullPointerException
  3. 0

    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)

    Jenkins JIRA | 2 years ago | sunil madhu
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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)

    Jenkins JIRA | 2 years ago | sunil madhu
    java.lang.NullPointerException
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.jenkinsci.plugins.chromedriver.EnvironmentContributorImpl.buildEnvironmentFor()
    2. org.jenkinsci.plugins
      EnvironmentContributorImpl.buildEnvironmentFor
      1. org.jenkinsci.plugins.chromedriver.EnvironmentContributorImpl.buildEnvironmentFor(EnvironmentContributorImpl.java:23)
      1 frame
    3. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.model.Run.getEnvironment(Run.java:2267)
      2. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:905)
      3. hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1356)
      4. hudson.scm.SCM.poll(SCM.java:397)
      5. hudson.model.AbstractProject._poll(AbstractProject.java:1435)
      6. hudson.model.AbstractProject.poll(AbstractProject.java:1338)
      7. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515)
      8. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544)
      9. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      9 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames