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

Builds with no labels cause null pointer excpetions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • ec2-plugin
    • None
    • Linux

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: