-
Bug
-
Resolution: Fixed
-
Major
I have vSphere plugin 0.9 and Jenkins 1.462 (and I tried 1.463) and it caused matrix jobs, that do not run on vSphere slaves, to die with this error:
Started by timer
FATAL: null
java.lang.NullPointerException
at org.jenkinsci.plugins.vSphereCloudRunListener.onStarted(vSphereCloudRunListener.java:32)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
at hudson.model.Run.run(Run.java:1429)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:248)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:239)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)
To add insult to injury, the builds then got locked.
None of the vSphere slaves seemed to be having problems (in fact, jobs were building on them just fine).
My solution was to change all my vSphere slaves to normal slaves and then removing the plugin. Simply changing the slaves wasn't enough.
Reproduced and roled back to 0.5.
I got 2 different stacktraces.
One is same as the description and another is:
FATAL: null java.lang.NullPointerException at hudson.matrix.MatrixBuild$RunnerImpl.doRun(MatrixBuild.java:285) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:480) at hudson.model.Run.run(Run.java:1434) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:248) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66)