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

          beckje01 Jeff Beck created issue -
          vjuranek vjuranek made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 140660 ] JNJira + In-Review [ 189179 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: