title: Invalid id: Process leaked file descriptors. Jenkins
body: <p>I have setup a Jenkins CI solution (on Windows) consisting of 3 parallel jobs (using Multijob plugin) which checkout a git repository (using the Git-plugin) into their respective workspace. 
  95% of the times, the jobs run perfectly but sometimes I get the following error message in either one or more of the jobs:</p>
  
  <pre><code>Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\PatchsetCPPCheck\workspace
  Checkout:workspace / C:\Program Files (x86)\Jenkins\jobs\PatchsetCPPCheck\workspace - hudson.remoting.LocalChannel@1a046fe
  Using strategy: Gerrit Trigger
  Last Built Revision: Revision 2ff5e3449041916e21fe7a4833a2babcfef45225 (master)
  Fetching changes from 1 remote Git repository
  Fetching upstream changes from origin
  Commencing build of Revision 1eec024d8a125a42b563011468bb19a87e1da2ea (master)
  Checking out Revision 1eec024d8a125a42b563011468bb19a87e1da2ea (master)
  Cleaning workspace
  Resetting working tree
  FATAL: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
  java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
      at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:232)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.doRevList(CliGitAPIImpl.java:1278)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revList(CliGitAPIImpl.java:1264)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.isCommitInRepo(CliGitAPIImpl.java:1289)
      at hudson.plugins.git.GitAPI.isCommitInRepo(GitAPI.java:189)
      at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1286)
      at hudson.plugins.git.GitSCM.access$1300(GitSCM.java:57)
      at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1251)
      at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1205)
      at hudson.FilePath.act(FilePath.java:905)
      at hudson.FilePath.act(FilePath.java:878)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1205)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1369)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581)
      at hudson.model.Run.execute(Run.java:1593)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:242)
  </code></pre>
  
  <p>Can anyone help me on this?</p>