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

NPE from AbstractBuild$AbstractBuildExecution.run

    XMLWordPrintable

Details

    Description

      Observed in a DEV@cloud server:

      Started by an SCM change
      FATAL: null
      java.lang.NullPointerException
          at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:549)
          at hudson.model.Run.execute(Run.java:1665)
          at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519)
          at hudson.model.ResourceController.execute(ResourceController.java:88)
          at hudson.model.Executor.run(Executor.java:246)
      

      Looks like getCurrentNode is returning null for some reason, perhaps due to a slave going offline just as the build is starting. Should be handled more gracefully.

      Attachments

        Activity

          jglick Jesse Glick created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          danielbeck Daniel Beck made changes -
          Labels cloud exception nullpointer robustness cloud exception lts-candidate nullpointer robustness
          olivergondza Oliver Gond┼ża made changes -
          Labels cloud exception lts-candidate nullpointer robustness 1.565.1-fixed cloud exception nullpointer robustness
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 155840 ] JNJira + In-Review [ 195266 ]

          People

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: