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

Running a job with a custom workspace set to eg. 'F:\' causes NullPointerException

XMLWordPrintable

    • 2.223

      After upgrading fom ver 2.211 to ver 2.221 jobs with a drive as custom workspace throw a NullPointerException immediately:

       Running as SYSTEM
       [EnvInject] - Loading node environment variables.
       Baue auf Master in Arbeitsbereich F:\
       FATAL: null
       java.lang.NullPointerException
      	at hudson.FilePath.sibling(FilePath.java:1327)
      	at hudson.slaves.WorkspaceList.tempDir(WorkspaceList.java:306)
      	at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:868)
      	at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:852)
      	at hudson.scm.SCM.checkout(SCM.java:505)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1206)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      	at hudson.model.Run.execute(Run.java:1856)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:428)
       ERROR: Build step failed with exception
      

            jglick Jesse Glick
            fsg Frank Schlottmann-Gödde
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: