Description

Since my latest Hudson upgrade, including upgrading the Perforce plugin, the SCM polling seems to have stopped working completely. If I check the Perforce Polling Log from the UI, I only see this:

Started on 2010-feb-16 09:10:34
Looking for changes...
Using master perforce client: bkgnd-master1-elib-main

At the Hudson console, the following is displayed:

$ C:\dev\scm\p4\p4.exe workspace -o bkgnd-master1-elib-main

...

2010-feb-16 09:10:34 hudson.triggers.SCMTrigger$Runner runPolling
ALLVARLIG: Failed to record SCM polling
java.lang.NullPointerException
at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:739)
at hudson.plugins.perforce.PerforceSCM.pollChanges(PerforceSCM.java:538)
at hudson.scm.SCM.poll(SCM.java:344)
at hudson.model.AbstractProject.poll(AbstractProject.java:1150)
at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:319)
at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:346)
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$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)