Community
Participate
Working Groups
Build Identifier: We're trying to use EGit/JGit with a repository imported from CVS that has some large files in it (200MB). At least that's what I suspect is the reason. Cloning fails after some time with this Exception: java.lang.reflect.InvocationTargetException at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:129) at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:199) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.jgit.errors.TransportException: e1d24c38cf3c63976aacafe5a5f1b2c4c29b2096 at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:269) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:218) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:210) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:171) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:850) at org.eclipse.egit.core.op.CloneOperation.doFetch(CloneOperation.java:201) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:119) ... 2 more Caused by: org.eclipse.jgit.errors.LargeObjectException: e1d24c38cf3c63976aacafe5a5f1b2c4c29b2096 at org.eclipse.jgit.storage.file.LargePackedWholeObject.getCachedBytes(LargePackedWholeObject.java:98) at org.eclipse.jgit.transport.IndexPack.verifySafeObject(IndexPack.java:873) at org.eclipse.jgit.transport.IndexPack.whole(IndexPack.java:855) at org.eclipse.jgit.transport.IndexPack.indexOneObject(IndexPack.java:806) at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:409) at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:627) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:259) ... 9 more Root exception: org.eclipse.jgit.errors.TransportException: e1d24c38cf3c63976aacafe5a5f1b2c4c29b2096 at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:269) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:218) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:210) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:171) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:850) at org.eclipse.egit.core.op.CloneOperation.doFetch(CloneOperation.java:201) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:119) at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:199) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: org.eclipse.jgit.errors.LargeObjectException: e1d24c38cf3c63976aacafe5a5f1b2c4c29b2096 at org.eclipse.jgit.storage.file.LargePackedWholeObject.getCachedBytes(LargePackedWholeObject.java:98) at org.eclipse.jgit.transport.IndexPack.verifySafeObject(IndexPack.java:873) at org.eclipse.jgit.transport.IndexPack.whole(IndexPack.java:855) at org.eclipse.jgit.transport.IndexPack.indexOneObject(IndexPack.java:806) at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:409) at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:627) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:259) ... 9 more Reproducible: Always
tried with the current nightly (0.9.0.201007271530)
This also happens when trying to merge large files (around 10MB). Build 0.9.3 Stack trace: org.eclipse.jgit.errors.LargeObjectException: 724a84514e0e3509a754ed8e58ef349a497d3f27 exceeds size limit at org.eclipse.jgit.storage.file.LargePackedWholeObject.getCachedBytes(LargePackedWholeObject.java:98) at org.eclipse.jgit.dircache.DirCacheCheckout.checkoutEntry(DirCacheCheckout.java:791) at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:345) at org.eclipse.jgit.api.MergeCommand.call(MergeCommand.java:162) at org.eclipse.egit.core.op.MergeOperation$1.run(MergeOperation.java:102) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782) at org.eclipse.egit.core.op.MergeOperation.execute(MergeOperation.java:122) at org.eclipse.egit.ui.internal.repository.tree.command.MergeCommand$1.run(MergeCommand.java:93) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Can you retry this with a 0.10 nightly? This could be a legitimate bug.
I'll give it a try when i will have some spare time. This seems to be a common problem and occurs when trying to call ObjectLoader.getBytes when dealing with large files. I think the same problem was handled on bug on EGit: Bug 322707.
*** This bug has been marked as a duplicate of bug 312868 ***