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

Executing a batch task on a new project gives NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • batch-task-plugin
    • None
    • Platform: All, OS: All

      This bug report is for the latest version in the CVS, I dont know if it is a
      know issue but im posting it anyhow. so it isnt forgotten.

      I create a new project just to test the latest batch plugin, and configured a
      task to do "dir". Then I tried to run the task, and I got the following
      exception in the Executor#0
      ----------------------------------------------------------
      Thread has died
      java.lang.NullPointerException
      at hudson.plugins.batch_task.BatchTask.getAssignedLabel(BatchTask.java:92)
      at hudson.model.Queue.choose(Queue.java:403)
      at hudson.model.Queue.pop(Queue.java:322)
      at hudson.model.Executor.run(Executor.java:54)
      ----------------------------------------------------------

      Steps to reproduce:
      1. Create a new project
      2. Enable batch task plugin and create a new task doing "dir"
      3. Execute the task (Without doing any prior builds)

            mindless Alan Harder
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: