(p4):stop:6
(p4):cmd:... p4 user -o username
p4 user -o username
(p4):stop:7
Unable to get current change: java.lang.NullPointerException
FATAL: null
java.lang.NullPointerException
at org.jenkinsci.plugins.p4.changes.P4ChangeSet.store(P4ChangeSet.java:74)
at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:346)
at hudson.scm.SCM.checkout(SCM.java:485)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:410)
Finished: FAILURE
I've replaced the username in question with 'username'. This was a 100% repro for me until I submitted a dummy change from a user that did exist.
This is obviously a fairly niche problem, with a workaround, but I didn't see anything that matched this in existing bug reports.