-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows 7 64 bit
Java 7 u 71
Jenkins 1.591, 1.592
Chromedriver plugin 1.1
Polling SVN
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()