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

NPE in AbstractProject.checkout

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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)
      

        Attachments

          Activity

          olivergondza Oliver Gondža created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 164346 ] JNJira + In-Review [ 181588 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels newbie-friendly
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Remote Link This issue links to "https://github.com/jenkinsci/jenkins/pull/3094 (Web Link)" [ 20215 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels newbie-friendly lts-candidate newbie-friendly
          olivergondza Oliver Gondža made changes -
          Labels lts-candidate newbie-friendly 2.107.2-fixed newbie-friendly

            People

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

              Dates

              • Created:
                Updated:
                Resolved: