Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11541

NPE in Throttle Concurrent Builds Plugin kills the executor

    XMLWordPrintable

Details

    Description

      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:

      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)
      

      Attachments

        Issue Links

          Activity

            People

              abayer Andrew Bayer
              sergei_ivanov Sergei Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: