I have entered a ticket <https://issues.jenkins-ci.org/browse/JENKINS-26487> 
for this issue and reported additional info after running the VaultSCM 
plugin in the debugger.  I now know the cause of the NPE, but not sure yet 
how to address it.


On Friday, January 16, 2015 at 4:10:40 PM UTC-5, Ken O wrote:
>
> I'm having an issue with an NPE occurring when Jenkins attempts to perform 
> an SCM poll for any job.  SCM checkout from SourceGear Vault seems to work 
> correctly when I manually kick off a build.  Could someone provide guidance 
> on how to further investigate the cause?
>
> Environment:  Jenkins 1.596, JRE 8.0.250, SourceGear Vault SCM Plugin 
> v1.1.1, SourceGear Vault Pro 6.0.1, Win7
>
> SCM Polling Log:
>
> Polling SCM changes on master
> ERROR
>
> ERROR: Failed to record SCM polling for 
> hudson.model.FreeStyleProject@149cef1[FAB22_FABMain]
>
> java.lang.NullPointerException 
> <http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException>
>
>         at org.jvnet.hudson.plugins.VaultSCM.getVaultPath(VaultSCM.java:334) 
> <http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.hudson.plugins.VaultSCM.getVaultPath&entity=method>
>
>         at 
> org.jvnet.hudson.plugins.VaultSCM.determineChangeCount(VaultSCM.java:521) 
> <http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.hudson.plugins.VaultSCM.determineChangeCount&entity=method>
>
>         at 
> org.jvnet.hudson.plugins.VaultSCM.compareRemoteRevisionWith(VaultSCM.java:293)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.hudson.plugins.VaultSCM.compareRemoteRevisionWith&entity=method>
>
>         at hudson.scm.SCM.poll(SCM.java:397) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.scm.SCM.poll&entity=method>
>
>         at 
> hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1462) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.pollWithWorkspace&entity=method>
>
>         at hudson.model.AbstractProject._poll(AbstractProject.java:1433) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject._poll&entity=method>
>
>         at hudson.model.AbstractProject.poll(AbstractProject.java:1344) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractProject.poll&entity=method>
>
>         at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:515) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.triggers.SCMTrigger$Runner.runPolling&entity=method>
>
>         at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:544) 
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.triggers.SCMTrigger$Runner.run&entity=method>
>
>         at 
> hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
>  
> <http://stacktrace.jenkins-ci.org/search/?query=hudson.util.SequentialExecutionQueue$QueueEntry.run&entity=method>
>
>         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)
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6c6f1129-4efb-4dea-ad7f-1a59ff477b1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to