java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information

Jenkins JIRA | Brian Mills | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I understand that the git plugin is now using git-client? I can't get my upgraded Jenkins instance to clone a repository at all. I've tried adding -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true -Dhudson.util.ProcessTree.disable=true I've also tried setting environment variables (GIT_HOME and HOME) in Jenkins as per the details on this page. https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin I've set the tool location of Git (gitk.cmd) . GitInstallations no longer works (I assume because of the use of Git-Client now) Log output from job looks like this: Checkout:workspace / C:\Jenkins\jobs\Maintenance_CollectArtefactVersions\workspace - hudson.remoting.LocalChannel@2b498ab1 Using strategy: Default Cloning the remote Git repository Cloning repository ssh://git@server.com:7999/Repos/deployscripts.git git --version Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Fetching upstream changes from origin 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.revParse(CliGitAPIImpl.java:264) at hudson.plugins.git.GitAPI.revParse(GitAPI.java:252) I'm still kind of assuming I'm doing something wrong now that git is using git-client, or need to remove something given how much use of Jenkins+Git I've had in the past (3+years on ~50 build servers).

    Jenkins JIRA | 4 years ago | Brian Mills
    java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
  2. 0

    I understand that the git plugin is now using git-client? I can't get my upgraded Jenkins instance to clone a repository at all. I've tried adding -Dorg.jenkinsci.plugins.gitclient.Git.useCLI=true -Dhudson.util.ProcessTree.disable=true I've also tried setting environment variables (GIT_HOME and HOME) in Jenkins as per the details on this page. https://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin I've set the tool location of Git (gitk.cmd) . GitInstallations no longer works (I assume because of the use of Git-Client now) Log output from job looks like this: Checkout:workspace / C:\Jenkins\jobs\Maintenance_CollectArtefactVersions\workspace - hudson.remoting.LocalChannel@2b498ab1 Using strategy: Default Cloning the remote Git repository Cloning repository ssh://git@server.com:7999/Repos/deployscripts.git git --version Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Fetching upstream changes from origin 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.revParse(CliGitAPIImpl.java:264) at hudson.plugins.git.GitAPI.revParse(GitAPI.java:252) I'm still kind of assuming I'm doing something wrong now that git is using git-client, or need to remove something given how much use of Jenkins+Git I've had in the past (3+years on ~50 build servers).

    Jenkins JIRA | 4 years ago | Brian Mills
    java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
  3. 0

    [JENKINS-17894] Can't Clone Git repository over SSH 'Process leaked file descriptors' - Jenkins JIRA

    jenkins-ci.org | 10 months ago
    java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See for more information
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins Build Error using GitHub

    Stack Overflow | 4 years ago | user2414772
    java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See [same wiki link] for more information
  6. 0

    Invalid id: Process leaked file descriptors. Jenkins

    Stack Overflow | 3 years ago | Achal Gupta
    java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. JGit - Core
      ObjectId.fromString
      1. org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:232)
      1 frame
    3. org.jenkinsci.plugins
      CliGitAPIImpl.revParse
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revParse(CliGitAPIImpl.java:264)
      1 frame
    4. Hudson GIT plugin
      GitAPI.revParse
      1. hudson.plugins.git.GitAPI.revParse(GitAPI.java:252)
      1 frame