com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch
via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch
via Atlassian JIRA by Turner Benard [Atlassian], 1 year ago
java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
via Atlassian JIRA by Carlen Benard, 1 year ago
java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
via Atlassian JIRA by Sultan Maiyaki [Atlassian], 1 year ago
/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ]
at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69)
at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659)
at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161)
at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:114)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:543)
at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getBranchForSha(GitCommandProcessor.java:427)
at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getBranchForSha(NativeGitOperationHelper.java:512)
at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:241)
at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesForRevision(GitRepository.java:204)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:323)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:261)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:160)
at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:126)
at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:173)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:209)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:262)
at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1$1.run(PlanExecutionManagerImpl.java:401)
at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:85)
at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:102)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:396)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:390)
at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)
at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:741)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:125)
at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:384)
at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.