| Summary: | MissingObjectException prevents cloning of repository | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Joshua Ross <joshualross> |
| Component: | Core | Assignee: | Stefan Lay <stefan.lay> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jens.baumgart, stefan.lay |
| Version: | 0.9.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Joshua Ross
Does the clone work with native git? Is the repo public so that we can try to reproduce it? sorry, not a public repo. As a workaround I am using git in cygwin and it is working, so yes, it is working with native git. It also works on my linux dev machine. I keep updating and trying again. Now the failure is a bit more specific and is citing a missing blob. Is that an unrecoverable failure? Seems the command line utils are able to handle it. Details below: EGit Version: 0.10.0.201009270918 JGit Version: 0.10.0.201009270915 Problem Occurred ----------------- 'Cloning from ssh://username@my.host.com/path/repos has encountered a problem. Missing blob 2c3e27753ac40abd22f17d3f9c678d8fa9c8a16a From the error log ---------------------- Message: Missing blob 2c3e27753ac40abd22f17d3f9c678d8fa9c8a16a Exception Stack Trace: org.eclipse.jgit.errors.MissingObjectException: Missing blob 2c3e27753ac40abd22f17d3f9c678d8fa9c8a16a at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:112) at org.eclipse.jgit.lib.ObjectDatabase.open(ObjectDatabase.java:176) at org.eclipse.jgit.lib.Repository.open(Repository.java:274) at org.eclipse.jgit.lib.GitIndex.checkoutEntry(GitIndex.java:937) at org.eclipse.jgit.lib.WorkDirCheckout$1.visitEntry(WorkDirCheckout.java:187) at org.eclipse.jgit.lib.IndexTreeWalker.finishVisitTree(IndexTreeWalker.java:205) at org.eclipse.jgit.lib.IndexTreeWalker.walk(IndexTreeWalker.java:142) at org.eclipse.jgit.lib.IndexTreeWalker.walk(IndexTreeWalker.java:120) at org.eclipse.jgit.lib.WorkDirCheckout.checkoutOutIndexNoHead(WorkDirCheckout.java:166) at org.eclipse.jgit.lib.WorkDirCheckout.checkout(WorkDirCheckout.java:143) at org.eclipse.egit.core.op.CloneOperation.doCheckout(CloneOperation.java:231) at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:120) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:249) at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:242) at org.eclipse.egit.ui.internal.clone.GitCloneWizard$4.run(GitCloneWizard.java:223) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Session Data: eclipse.buildId=M20100909-0800 java.version=1.6.0_20 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.php.product Command-line arguments: -data C:\tmp -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product Can you reproduce the issue with EGit 1.0? In the meantime the implementation totally changed (GitIndex is no longer used). I am no longer getting the error message with 1.0. It appears to be working although I am having some difficulty figuring out how to create/import a project. |