Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Fwd: [Bug 324868] New: git clone fails for org.eclipse.mdt

fredagen den 10 september 2010 16.55.17 skrev  Chris Aniszczyk:
> Anyone know why this is happening?
> 
> ---------- Forwarded message ----------
> From:  <bugzilla-daemon@xxxxxxxxxxx>
> Date: Thu, Sep 9, 2010 at 11:25 AM
> Subject: [Bug 324868] New: git clone fails for org.eclipse.mdt
> To: caniszczyk@xxxxxxxxx
> 
> 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=324868
> Product/Component: EGit / Core
> 
>           Summary: git clone fails for org.eclipse.mdt
>    Classification: Technology
>           Product: EGit
>           Version: unspecified
>          Platform: PC
>        OS/Version: Windows 7
>            Status: NEW
>          Severity: normal
>          Priority: P3
>         Component: Core
>        AssignedTo: egit.core-inbox@xxxxxxxxxxx
>        ReportedBy: weinell@xxxxxxxxxxxxxxxxxxx
> 
> 
> What steps will reproduce the problem?
> 1. Clone a Git repository from
> git://dev.eclipse.org/org.eclipse.mdt/org.eclipse.mdt.git
> 2. Select the 'master' branch only
> 3. Click finish
> 
>Caused by: java.io.EOFException: Short skip of block.
>    at org.eclipse.jgit.util.IO.skipFully(IO.java:205)
>    at
> org.eclipse.jgit.storage.pack.DeltaStream.seekBase(DeltaStream.java:339)
> at org.eclipse.jgit.storage.pack.DeltaStream.read(DeltaStream.java:213) at
> java.io.BufferedInputStream.read1(BufferedInputStream.java:256) at
> java.io.BufferedInputStream.read(BufferedInputStream.java:317) at
> org.eclipse.jgit.lib.ObjectStream$Filter.read(ObjectStream.java:209) at
> org.eclipse.jgit.util.IO.readFully(IO.java:175)
>    at
> org.eclipse.jgit.lib.ObjectLoader.getCachedBytes(ObjectLoader.java:211) at
> org.eclipse.jgit.transport.IndexPack.verifySafeObject(IndexPack.java:873)
>    at
> org.eclipse.jgit.transport.IndexPack.resolveDeltas(IndexPack.java:544) at
> org.eclipse.jgit.transport.IndexPack.resolveChildDeltaChain(IndexPack.java:
> 588) at
> org.eclipse.jgit.transport.IndexPack.resolveChildDeltas(IndexPack.java:581)
>    at org.eclipse.jgit.transport.IndexPack.fixThinPack(IndexPack.java:627)
>    at org.eclipse.jgit.transport.IndexPack.index(IndexPack.java:426)
>    at
> org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetc
> hConnection.java:647) at
> org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchCon
> nection.java:279) ... 9 more


This crashed with the maven build, but the clone was successful when run under
the debugger in Eclipse. Could we possibly try to skipFully(0) ?  Then the
function would (successfully) skip zero bytes and then throw an exception. 

Are deltas always resolved in the same order?

-- robin



Back to the top