com.atlassian.bamboo.repository.RepositoryException: null Could not delete file /home/hgrepo/bamboo-agent-home/xml-data/build-dir/GP-LINUSKERNELHTTP3-JOB1/.git/objects/incoming_4443714216792466821.idx {code}

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

Solutions on the web

via Atlassian JIRA by Piotr Stefan Stefaniak [Atlassian], 1 year ago
null Could not delete file /home/hgrepo/bamboo-agent-home/xml-data/build-dir/GP-LINUSKERNELHTTP3-JOB1/.git/objects/incoming_4443714216792466821.idx {code}
via Atlassian JIRA by Piotr Stefan Stefaniak [Atlassian], 1 year ago
null Could not delete file /home/hgrepo/bamboo-agent-home/xml-data/build-dir/GP-LINUSKERNELHTTP3-JOB1/.git/objects/incoming_4443714216792466821.idx {code}
via Atlassian JIRA by Piotr Stefan Stefaniak [Atlassian], 1 year ago
Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported
via Atlassian JIRA by Piotr Stefan Stefaniak [Atlassian], 1 year ago
Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported
via Atlassian JIRA by Slawek Ginter [Atlassian], 1 year ago
Cannot fetch 'git://git.jetbrains.org/idea/community.git', branch 'refs/heads/maia' to source directory '/home/sginter/prg/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/28c076c4273b421ff51a09732d527291d5374498'. Missing delta base bbed200ad9901f61655a2b5b3d7d8e5a25738e9a
via Atlassian JIRA by Slawek Ginter [Atlassian], 1 year ago
Cannot fetch 'git://git.jetbrains.org/idea/community.git', branch 'refs/heads/maia' to source directory '/home/sginter/prg/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/28c076c4273b421ff51a09732d527291d5374498'. Missing delta base bbed200ad9901f61655a2b5b3d7d8e5a25738e9a
java.io.IOException: Could not delete file /home/hgrepo/bamboo-agent-home/xml-data/build-dir/GP-LINUSKERNELHTTP3-JOB1/.git/objects/incoming_4443714216792466821.idx
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:133)
at org.eclipse.jgit.util.FileUtils.delete(FileUtils.java:91)
at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:473)
at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:673)
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:285)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:613)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:230)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:217)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:152)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:114)
at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:188)
at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetchAndCheckout(GitOperationHelper.java:151)
at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetchAndCheckout(GitOperationHelper.java:142)
at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:203)
at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.doCall(CheckoutUpdateForBuild.java:136)
at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:41)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:189)
at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:102)
at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:50)
at java.lang.Thread.run(Thread.java:636)

Users with the same issue

You are the first who have seen this exception.

Write tip

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