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

Computer does not exist returns NPE

    XMLWordPrintable

Details

    Description

      If a computer or slave does not exist createLaucher throws a NPE.

      FATAL: null
      java.lang.NullPointerException
      	at hudson.model.Slave.createLauncher(Slave.java:347)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:617)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:553)
      	at hudson.model.Run.execute(Run.java:1665)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:246)
      

      Attachments

        Activity

          schristou Steven Christou created issue -
          schristou Steven Christou made changes -
          Field Original Value New Value
          Description If a computer does not exist, or a slave does not exist createLaucher throws a NPE.

          {noformat}FATAL: null
          java.lang.NullPointerException
          at hudson.model.Slave.createLauncher(Slave.java:347)
          at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:617)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:553)
          at hudson.model.Run.execute(Run.java:1665)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:246)
          {noformat}
          If a computer or slave does not exist createLaucher throws a NPE.

          {noformat}FATAL: null
          java.lang.NullPointerException
          at hudson.model.Slave.createLauncher(Slave.java:347)
          at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:617)
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:553)
          at hudson.model.Run.execute(Run.java:1665)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:246)
          {noformat}
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jglick Jesse Glick made changes -
          Labels lts-candidate
          olivergondza Oliver Gondža made changes -
          Labels lts-candidate 1.554.2-fixed lts-candidate
          olivergondza Oliver Gondža made changes -
          Labels 1.554.2-fixed lts-candidate 1.554.2-fixed
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154076 ] JNJira + In-Review [ 194780 ]

          People

            schristou Steven Christou
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: