Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320622 - Cannot clone repository: "Packfile corruption detected: wrong decompressed length" (Git 1.7.1 / ssh)
Summary: Cannot clone repository: "Packfile corruption detected: wrong decompressed le...
Status: CLOSED DUPLICATE of bug 320259
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 08:56 EDT by Erwin Tratar CLA
Modified: 2010-07-23 04:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Tratar CLA 2010-07-22 08:56:33 EDT
Build Identifier: I20100608-0911

What I did:

on a Linux box:
1. created a new repository
2. imported a (very big) existing CVS repository using cvs2git

now on a Win7 box:
3. tried to clone that repositoroy over ssh
4. after a short time an error pops up with this in the Error Log:

java.lang.reflect.InvocationTargetException
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:130)
	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: Packfile corruption detected: wrong decompressed length
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:266)
	at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:218)
	at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:205)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:145)
	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:204)
	at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:120)
	... 2 more
Caused by: org.eclipse.jgit.errors.CorruptObjectException: Packfile corruption detected: wrong decompressed length
	at org.eclipse.jgit.transport.IndexPack.inflate(IndexPack.java:988)
	at org.eclipse.jgit.transport.IndexPack.inflateAndReturn(IndexPack.java:951)
	at org.eclipse.jgit.transport.IndexPack.whole(IndexPack.java:837)
	at org.eclipse.jgit.transport.IndexPack.indexOneObject(IndexPack.java:796)
	at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:407)
	at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:621)
	at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:259)
	... 9 more


Cloning the repository with either msysgit (1.7.1 preview) and tortoisegit (1.5.2.0) both worked flawlessly. 

I suspect a version incompatibility with Git 1.7, but I could not find any compatibility information for egit/jgit. 

I tried it with both egit 0.8 (Helios) and the current 0.9 snapshot (0.9.0.201007191513).


Reproducible: Didn't try

Steps to Reproduce:
see Details
Comment 1 Mathias Kinzler CLA 2010-07-23 04:49:20 EDT
This is a duplicate.

*** This bug has been marked as a duplicate of bug 320259 ***