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

Builds with no labels cause null pointer excpetions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ec2-plugin
    • None
    • Linux

      When a build has no labels it will throw a null pointer exception due to the change in JENKINS-9773

      Jul 27, 2011 12:04:46 PM hudson.triggers.SafeTimerTask run
      SEVERE: Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@1454f68 failed
      java.lang.NullPointerException
      at hudson.plugins.ec2.EC2Cloud.getTemplate(EC2Cloud.java:127)
      at hudson.plugins.ec2.EC2Cloud.canProvision(EC2Cloud.java:239)
      at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:220)
      at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:51)
      at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:308)
      at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      at java.util.TimerThread.mainLoop(Timer.java:512)
      at java.util.TimerThread.run(Timer.java:462)

            kohsuke Kohsuke Kawaguchi
            beckje01 Jeff Beck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: