java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • A NullPointerException occurs when Jenkins attempts to perform an SCM poll for any job. The stack trace would seem to indicate FilePath exec is null in line 326 of VaultSCM.java. A Vault SCM checkout completes successfully when a build is kicked off manually. I tried leaving the 'Path to Vault executable' field blank and using the default value configured but without success. Stack trace: Jan 19, 2015 8:26:00 AM org.jvnet.hudson.plugins.VaultSCM compareRemoteRevisionWith INFO: Last Build Date set to Wed Jan 14 10:19:55 EST 2015 Jan 19, 2015 8:26:00 AM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@3ab722[FAB22_FABMain] java.lang.NullPointerException at org.jvnet.hudson.plugins.VaultSCM.getVaultPath(VaultSCM.java:334) at org.jvnet.hudson.plugins.VaultSCM.determineChangeCount(VaultSCM.java:521) at org.jvnet.hudson.plugins.VaultSCM.compareRemoteRevisionWith(VaultSCM.java:293) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1462) at hudson.model.AbstractProject._poll(AbstractProject.java:1433) at hudson.model.AbstractProject.poll(AbstractProject.java:1344) 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)
    via by Ken Overly,
  • A NullPointerException occurs when Jenkins attempts to perform an SCM poll for any job. The stack trace would seem to indicate FilePath exec is null in line 326 of VaultSCM.java. A Vault SCM checkout completes successfully when a build is kicked off manually. I tried leaving the 'Path to Vault executable' field blank and using the default value configured but without success. Stack trace: Jan 19, 2015 8:26:00 AM org.jvnet.hudson.plugins.VaultSCM compareRemoteRevisionWith INFO: Last Build Date set to Wed Jan 14 10:19:55 EST 2015 Jan 19, 2015 8:26:00 AM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@3ab722[FAB22_FABMain] java.lang.NullPointerException at org.jvnet.hudson.plugins.VaultSCM.getVaultPath(VaultSCM.java:334) at org.jvnet.hudson.plugins.VaultSCM.determineChangeCount(VaultSCM.java:521) at org.jvnet.hudson.plugins.VaultSCM.compareRemoteRevisionWith(VaultSCM.java:293) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1462) at hudson.model.AbstractProject._poll(AbstractProject.java:1433) at hudson.model.AbstractProject.poll(AbstractProject.java:1344) 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)
    via by Ken Overly,
    • java.lang.NullPointerException at org.jvnet.hudson.plugins.VaultSCM.getVaultPath(VaultSCM.java:334) at org.jvnet.hudson.plugins.VaultSCM.determineChangeCount(VaultSCM.java:521) at org.jvnet.hudson.plugins.VaultSCM.compareRemoteRevisionWith(VaultSCM.java:293) at hudson.scm.SCM.poll(SCM.java:397) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1462) at hudson.model.AbstractProject._poll(AbstractProject.java:1433) at hudson.model.AbstractProject.poll(AbstractProject.java:1344) 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)
    No Bugmate found.