When disconnecting slave during the build:

             FilePath workspace = build.getWorkspace();
              try {
                  workspace.mkdirs(); # Line 1250
              } catch (IOException e) {
                  // Can't create workspace dir - Is slave disk full ?
                  new DiskSpaceMonitor().markNodeOfflineIfDiskspaceIsTooLow(build.getBuiltOn().toComputer());
                  throw e;
              }
      
      01:59:53 FATAL: null
      01:59:53 java.lang.NullPointerException
      01:59:53 	at hudson.model.AbstractProject.checkout(AbstractProject.java:1250)
      01:59:53 	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
      01:59:53 	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      01:59:53 	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
      01:59:53 	at hudson.model.Run.execute(Run.java:1745)
      01:59:53 	at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      01:59:53 	at hudson.model.ResourceController.execute(ResourceController.java:89)
      01:59:53 	at hudson.model.Executor.run(Executor.java:240)
      

          [JENKINS-29470] NPE in AbstractProject.checkout

          Oliver Gondža created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164346 ] New: JNJira + In-Review [ 181588 ]
          Oleg Nenashev made changes -
          Labels New: newbie-friendly
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

          Oleg Nenashev added a comment -

          Incomplete (almost ready) fix is here: https://github.com/jenkinsci/jenkins/pull/3094.
          Everybody is welcome to finalize it

          Oleg Nenashev added a comment - Incomplete (almost ready) fix is here: https://github.com/jenkinsci/jenkins/pull/3094 . Everybody is welcome to finalize it
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/jenkins/pull/3094
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/jenkins/pull/3094 (Web Link)" [ 20215 ]

            Unassigned Unassigned
            olivergondza Oliver Gondža
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: