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

Perforce polling fails with NullPointerException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      SunOS 5.10 Generic_142901-03 i86pc i386 i86pc, Tomcat 7
      Perforce Plugin 1.3.16
    • Similar Issues:

      Description

      After upgrading to the latest version of the plugin, polling is broken for all projects, with the following exception trace

      
      hudson.triggers.SCMTrigger$Runner runPolling
      SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@4b0fc9d1[New_York_Sync]
      java.lang.NullPointerException
      	at hudson.plugins.perforce.PerforceSCM.substituteParameters(PerforceSCM.java:2253)
      	at hudson.plugins.perforce.PerforceSCM.getEffectiveProjectPath(PerforceSCM.java:595)
      	at hudson.plugins.perforce.PerforceSCM.compareRemoteRevisionWith(PerforceSCM.java:1149)
      	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      	at hudson.scm.SCM.poll(SCM.java:373)
      	at hudson.model.AbstractProject._poll(AbstractProject.java:1415)
      	at hudson.model.AbstractProject.poll(AbstractProject.java:1335)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rpetti Rob Petti
                Reporter:
                imavroukakis Ioannis Mavroukakis
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: