Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Exception caught during execution of fetch command(Caused by: org.eclipse.jgit.errors.TransportException: Bogus chunk size)
Exception caught during execution of fetch command [message #774603] Wed, 04 January 2012 04:17 Go to next message
Eclipse UserFriend
I'm trying to clone http://git.eclipse.org/gitroot/cdt/org.eclipse.cdt.git as anonymous behind a firewall. It doesn't work. Is it a known bug? Are there any workarounds? Cloning http://egit.eclipse.org/egit-training.git works.

- Harald

PS: Branch cdt_6_0 works. The Problem occurs with master branch. Eclipse EGit 1.0.0.201106090707-r

!ENTRY org.eclipse.egit.ui 4 0 2012-01-04 09:54:31.984
!MESSAGE Exception caught during execution of fetch command
!STACK 0
org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of fetch command
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:145)
at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:169)
at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:116)
at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:142)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.executeCloneOperation(GitCloneWizard.java:292)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard.access$3(GitCloneWizard.java:285)
at org.eclipse.egit.ui.internal.clone.GitCloneWizard$5.run(GitCloneWizard.java:266)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.jgit.errors.TransportException: Bogus chunk size
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:291)
at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:706)
at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:229)
at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:216)
at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:149)
at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:111)
at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1062)
at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:136)
... 7 more
Caused by: java.io.IOException: Bogus chunk size
at sun.net.www.http.ChunkedInputStream.processRaw(Unknown Source)
at sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source)
at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source)
at sun.net.www.http.ChunkedInputStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:144)
at org.eclipse.jgit.util.IO.readFully(IO.java:216)
at org.eclipse.jgit.transport.SideBandInputStream.readString(SideBandInputStream.java:241)
at org.eclipse.jgit.transport.SideBandInputStream.needDataPacket(SideBandInputStream.java:169)
at org.eclipse.jgit.transport.SideBandInputStream.read(SideBandInputStream.java:136)
at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1072)
at org.eclipse.jgit.transport.PackParser.readPackHeader(PackParser.java:778)
at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:456)
at org.eclipse.jgit.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:178)
at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:429)
at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:672)
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:284)
... 14 more

[Updated on: Wed, 04 January 2012 08:00] by Moderator

Re: Exception caught during execution of fetch command [message #775081 is a reply to message #774603] Thu, 05 January 2012 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Can you update EGit to the current released version (it's 1.2.0) and try again?
Re: Exception caught during execution of fetch command [message #775146 is a reply to message #775081] Thu, 05 January 2012 07:52 Go to previous message
Eclipse UserFriend
Manuel Doninger wrote on Thu, 05 January 2012 04:42
Can you update EGit to the current released version (it's 1.2.0) and try again?


I've tried it with Eclipse EGit 1.2.0.201112221803-r and the bogus chunk size is still there.

Previous Topic:org.eclipse.jgit.errors.MissingObjectException: Missing blob
Next Topic:JGit DirCacheCheckout badly remove symlinks
Goto Forum:
  


Current Time: Fri Jun 20 18:53:14 EDT 2025

Powered by FUDForum. Page generated in 0.06321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top