Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26487

NPE during SCM polling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • vault-scm-plugin
    • Jenkins 1.596, Win7-64, Vault SCM Plugin 1.1.1, SourceGear Vault Pro 6.0.1

      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)

            Unassigned Unassigned
            keno Ken Overly
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: