-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 1.609.2 perforce-plugin ver. 1.3.35
Before upgrading from 1.3.33 to 1.3.35 Jenkins was able to create a Perforce workspace when it didn't already exist, however after upgrading to 1.3.35 I get the following NPE:
My Perforce configuration has a username listed, but the password is blank, and not necessary.
Building in workspace /path/to/workspace
Using master perforce client: workspace_name
[ltconeng] $ /corp/tools/perforce/2011.1/cli/p4 workspace -o workspace_name
Changing P4 Client Root to: /path/to/workspace
Caught exception in perforce-plugin. nulljava.lang.NullPointerException
at hudson.plugins.perforce.PerforceSCM.parseProjectPath(PerforceSCM.java:2502)
at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1710)
at hudson.plugins.perforce.PerforceSCM.getPerforceWorkspace(PerforceSCM.java:1602)
at hudson.plugins.perforce.PerforceSCM.checkout(PerforceSCM.java:907)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1274)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
at hudson.model.Run.execute(Run.java:1738)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:381)
ERROR: Caught exception in perfoce-plugin. null
Please post your view spec. It looks like it's having issues parsing it.