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

Jenkins JIRA | Arnaud Héritier | 5 years ago
  1. 0

    Jenkins - FATAL: Could not checkout null with start point after a reset --hard to remove a commit

    freedomsponsors.org | 1 year ago
    hudson.plugins.git.GitException: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135
  2. 0

    This morning, we accidentally merged (on github' UI) one pull request to social client master. When I realized that, I reset --hard to the commit that is before the mis-merged commit and then force push (rewrite commit history). After that, we met this problem: # The mis-merged commit is still there: https://ci.exoplatform.org/job/social-client-master-ci/changes SCL-14 | Switch to use TestNG instead of JUnit (commit: ad11e95eba2343fb8c14c04be981f74bc3035465) — hoatlevan / detail # failed build with this: https://ci.exoplatform.org/view/%C2%B0%20IT%20%C2%B0/job/social-client-master-it/42/ This is a matrix build. The parent went fine {code} Started by upstream project "social-client-master-ci" build number 31 Building on master Checkout:workspace / /home/swfhudson/data/jobs/social-client-master-it/workspace - hudson.remoting.LocalChannel@129a4ed Using strategy: Default Last Built Revision: Revision a63d278c2c0c2999b7686e86e4759bc4be902bb1 (origin/master) Checkout:workspace / /home/swfhudson/data/jobs/social-client-master-it/workspace - hudson.remoting.LocalChannel@129a4ed Fetching changes from 1 remote Git repository Fetching upstream changes from https://github.com/exosocial/exo.social.client.git Pruning obsolete local branches Commencing build of Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Checking out Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Cleaning workspace Triggering 1.2.1-SNAPSHOT Triggering 1.2.0-GA Triggering 1.3.0-SNAPSHOT Interrupting #42 Finished: FAILURE {code} But children builds failed, for example : https://ci.exoplatform.org/job/social-client-master-it/42/social.server.version=1.2.0-GA/console {code} Started by upstream project "social-client-master-it" build number 42 Building on master Checkout:1.2.0-GA / /home/swfhudson/data/jobs/social-client-master-it/workspace/social.server.version/1.2.0-GA - hudson.remoting.LocalChannel@129a4ed Using strategy: Default Last Built Revision: Revision a63d278c2c0c2999b7686e86e4759bc4be902bb1 (origin/master) Checkout:1.2.0-GA / /home/swfhudson/data/jobs/social-client-master-it/workspace/social.server.version/1.2.0-GA - hudson.remoting.LocalChannel@129a4ed Cloning the remote Git repository Cloning repository origin Fetching upstream changes from https://github.com/exosocial/exo.social.client.git Cleaning workspace Commencing build of Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Checking out Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Cleaning workspace FATAL: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 hudson.plugins.git.GitException: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:831) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1143) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1127) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1127) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) at hudson.model.Run.run(Run.java:1376) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 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 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 Command "git checkout -f 44bdde2ce4035bfd5fca0f81c18cd4d070f12135" returned status code 128: fatal: reference is not a tree: 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 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 44bdde2ce4035bfd5fca0f81c18cd4d070f12135" returned status code 128: fatal: reference is not a tree: 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:739) ... 15 more {code}

    Jenkins JIRA | 5 years ago | Arnaud Héritier
    hudson.plugins.git.GitException: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135
  3. 0

    This morning, we accidentally merged (on github' UI) one pull request to social client master. When I realized that, I reset --hard to the commit that is before the mis-merged commit and then force push (rewrite commit history). After that, we met this problem: # The mis-merged commit is still there: https://ci.exoplatform.org/job/social-client-master-ci/changes SCL-14 | Switch to use TestNG instead of JUnit (commit: ad11e95eba2343fb8c14c04be981f74bc3035465) — hoatlevan / detail # failed build with this: https://ci.exoplatform.org/view/%C2%B0%20IT%20%C2%B0/job/social-client-master-it/42/ This is a matrix build. The parent went fine {code} Started by upstream project "social-client-master-ci" build number 31 Building on master Checkout:workspace / /home/swfhudson/data/jobs/social-client-master-it/workspace - hudson.remoting.LocalChannel@129a4ed Using strategy: Default Last Built Revision: Revision a63d278c2c0c2999b7686e86e4759bc4be902bb1 (origin/master) Checkout:workspace / /home/swfhudson/data/jobs/social-client-master-it/workspace - hudson.remoting.LocalChannel@129a4ed Fetching changes from 1 remote Git repository Fetching upstream changes from https://github.com/exosocial/exo.social.client.git Pruning obsolete local branches Commencing build of Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Checking out Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Cleaning workspace Triggering 1.2.1-SNAPSHOT Triggering 1.2.0-GA Triggering 1.3.0-SNAPSHOT Interrupting #42 Finished: FAILURE {code} But children builds failed, for example : https://ci.exoplatform.org/job/social-client-master-it/42/social.server.version=1.2.0-GA/console {code} Started by upstream project "social-client-master-it" build number 42 Building on master Checkout:1.2.0-GA / /home/swfhudson/data/jobs/social-client-master-it/workspace/social.server.version/1.2.0-GA - hudson.remoting.LocalChannel@129a4ed Using strategy: Default Last Built Revision: Revision a63d278c2c0c2999b7686e86e4759bc4be902bb1 (origin/master) Checkout:1.2.0-GA / /home/swfhudson/data/jobs/social-client-master-it/workspace/social.server.version/1.2.0-GA - hudson.remoting.LocalChannel@129a4ed Cloning the remote Git repository Cloning repository origin Fetching upstream changes from https://github.com/exosocial/exo.social.client.git Cleaning workspace Commencing build of Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Checking out Revision 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 (origin/master) Cleaning workspace FATAL: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 hudson.plugins.git.GitException: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 at hudson.plugins.git.GitAPI.checkoutBranch(GitAPI.java:831) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1143) at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1127) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1127) at hudson.model.AbstractProject.checkout(AbstractProject.java:1193) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443) at hudson.model.Run.run(Run.java:1376) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 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 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 Command "git checkout -f 44bdde2ce4035bfd5fca0f81c18cd4d070f12135" returned status code 128: fatal: reference is not a tree: 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 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 44bdde2ce4035bfd5fca0f81c18cd4d070f12135" returned status code 128: fatal: reference is not a tree: 44bdde2ce4035bfd5fca0f81c18cd4d070f12135 at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:739) ... 15 more {code}

    Jenkins JIRA | 5 years ago | Arnaud Héritier
    hudson.plugins.git.GitException: Could not checkout null with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-10385] FATAL: Could not checkout null with start point after a reset --hard to remove a commit - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.plugins.git.GitException: Could not checkout with start point 44bdde2ce4035bfd5fca0f81c18cd4d070f12135
  6. 0

    Hudson as service on Windows - file system permissions

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

    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 44bdde2ce4035bfd5fca0f81c18cd4d070f12135" returned status code 128: fatal: reference is not a tree: 44bdde2ce4035bfd5fca0f81c18cd4d070f12135

      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:1143)
      6. hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1127)
      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:1127)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1193)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:555)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:443)
      4. hudson.model.Run.run(Run.java:1376)
      5. hudson.matrix.MatrixRun.run(MatrixRun.java:146)
      6. hudson.model.ResourceController.execute(ResourceController.java:88)
      7. hudson.model.Executor.run(Executor.java:175)
      7 frames