[
https://issues.jenkins-ci.org/browse/JENKINS-11541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158564#comment-158564
]
sergei_ivanov commented on JENKINS-11541:
-----------------------------------------
This problem occurred only under high load on Jenkins, which makes me think
it's related to some subtle race condition. It used to happen very seldom,
about once in 1-2 months.
Plugin version was 1.6 at the time when I logged the issue. Now we're using
1.7.1 and the problem did not recur for a long time. I'll update this ticket if
I see it again with the latest plugin version.
> NPE in Throttle Concurrent Builds Plugin kills the executor
> -----------------------------------------------------------
>
> Key: JENKINS-11541
> URL: https://issues.jenkins-ci.org/browse/JENKINS-11541
> Project: Jenkins
> Issue Type: Bug
> Components: throttle-concurrents
> Affects Versions: current
> Reporter: sergei_ivanov
> Assignee: abayer
>
> Sometimes when the build node is stressed, the plugin terminates abnormally
> and kills the executor. Jenkins allows to restart the executor, and then the
> build process resumes as normal. Unfortunately, the stack trace below is the
> only evidence I have got:
> {noformat}
> java.lang.NullPointerException
> at
> hudson.plugins.throttleconcurrents.ThrottleQueueTaskDispatcher.buildsOfProjectOnNode(ThrottleQueueTaskDispatcher.java:121)
> at
> hudson.plugins.throttleconcurrents.ThrottleQueueTaskDispatcher.canTake(ThrottleQueueTaskDispatcher.java:80)
> at
> hudson.model.queue.QueueTaskDispatcher.canTake(QueueTaskDispatcher.java:101)
> at hudson.model.Queue$JobOffer.canTake(Queue.java:214)
> at hudson.model.Queue.pop(Queue.java:799)
> at hudson.model.Executor.grabJob(Executor.java:276)
> at hudson.model.Executor.run(Executor.java:206)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira