|
|
|
Issue Type:
|
Bug
|
Assignee:
|
Unassigned |
Components:
|
chromedriver-plugin |
Created:
|
04/Dec/14 11:39 AM
|
Description:
|
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()
|
Environment:
|
Windows 7 64 bit
Java 7 u 71
Jenkins 1.591, 1.592
Chromedriver plugin 1.1
Polling SVN
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Frantisek Veverka
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.