• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      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)
      

          [JENKINS-21999] Computer does not exist returns NPE

          Steven Christou created issue -
          Steven Christou made changes -
          Description Original: 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}
          New: 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/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.554.2-fixed lts-candidate
          Oliver Gondža made changes -
          Labels Original: 1.554.2-fixed lts-candidate New: 1.554.2-fixed
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154076 ] New: JNJira + In-Review [ 194780 ]

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

              Created:
              Updated:
              Resolved: