I have found a reproduction scenario for this bug.

  1. Define a matrix job which runs a few jobs (which takes some time) on a specific node
  2. Run this job, which will spawn a few matrix jobs
  3. Do a safeRestart of jenkins, this will persist some of the matrix jobs which are still waiting in the queue

When jenkins comes up now, it will try to start a matrix job from the persisted queue, and this will fail with the above NPE exception.

A quick workaround is removing/deleting the matrix jobs from the queue after jenkins is restarted. This allows you to restart the dead clients again.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to