hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524

Jenkins JIRA | Rotem Yaari | 6 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

    [JENKINS-10571] Git Plugin crashes when remote branch gets deleted, and its commit is not available. - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524
  2. 0

    I have a repository which Jenkins builds. At some point I added a remote branch, with a certain commit. Jenkins built it successfully (checking it out in the process). However, after I deleted the remote branch *without* merging the commit to anywhere (practically throwing it away), Jenkins fails: {noformat} Checking out Revision eb81dffc5098004d7508aa0ddd398117d9baa524 (infinipy/conf, origin/conf) FATAL: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524 hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:831) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1145) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1129) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1129) at hudson.model.AbstractProject.checkout(AbstractProject.java:1184) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: hudson.plugins.git.GitException: Error performing command: git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524 Command "git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524" returned status code 128: fatal: reference is not a tree: eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:744) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:709) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:719) at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:818) ... 12 more Caused by: hudson.plugins.git.GitException: Command "git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524" returned status code 128: fatal: reference is not a tree: eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:739) ... 15 more {noformat}

    Jenkins JIRA | 6 years ago | Rotem Yaari
    hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524
  3. 0

    I have a repository which Jenkins builds. At some point I added a remote branch, with a certain commit. Jenkins built it successfully (checking it out in the process). However, after I deleted the remote branch *without* merging the commit to anywhere (practically throwing it away), Jenkins fails: {noformat} Checking out Revision eb81dffc5098004d7508aa0ddd398117d9baa524 (infinipy/conf, origin/conf) FATAL: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524 hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:831) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1145) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1129) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1129) at hudson.model.AbstractProject.checkout(AbstractProject.java:1184) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425) at hudson.model.Run.run(Run.java:1376) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) Caused by: hudson.plugins.git.GitException: Error performing command: git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524 Command "git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524" returned status code 128: fatal: reference is not a tree: eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:744) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:709) at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:719) at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:818) ... 12 more Caused by: hudson.plugins.git.GitException: Command "git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524" returned status code 128: fatal: reference is not a tree: eb81dffc5098004d7508aa0ddd398117d9baa524 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:739) ... 15 more {noformat}

    Jenkins JIRA | 6 years ago | Rotem Yaari
    hudson.plugins.git.GitException: Could not checkout null with start point eb81dffc5098004d7508aa0ddd398117d9baa524
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hudson as service on Windows - file system permissions

    Stack Overflow | 7 years ago | meowsqueak
    hudson.plugins.git.GitException: Could not checkout 4a121704f178123c36f6ab4e861b3c771953b187
  6. 0

    Slave version no longer aligned with master version

    Google Groups | 5 years ago | Patrick Renaud
    hudson.plugins.git.GitException: Could not apply tag jenkins-FreeSWITCH-1

    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. hudson.plugins.git.GitException

      Command "git checkout -f eb81dffc5098004d7508aa0ddd398117d9baa524" returned status code 128: fatal: reference is not a tree: eb81dffc5098004d7508aa0ddd398117d9baa524

      at hudson.plugins.git.GitAPI.launchCommandIn()
    2. Hudson GIT plugin
      GitSCM$4.invoke
      1. hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:739)
      2. hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:709)
      3. hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:719)
      4. hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:818)
      5. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1145)
      6. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1129)
      6 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:758)
      2. hudson.FilePath.act(FilePath.java:740)
      2 frames
    4. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1129)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1184)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:537)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:425)
      4. hudson.model.Run.run(Run.java:1376)
      5. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:175)
      7 frames