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}

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web13

  • via Unknown by Piotr Stefan Stefaniak [Atlassian],
  • via Unknown by Piotr Stefan Stefaniak [Atlassian],
  • Stack trace

    • 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} at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:193) 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) Caused by: org.eclipse.jgit.errors.TransportException: 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.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:292) 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 org.eclipse.jgit.transport.Transport.fetch(Transport.java:904) at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:188) ... 10 more Caused by: 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) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.