当前位置:   article > 正文

java 克隆 失败_java – 克隆Git存储库时,Packfile被截断错误

packfile is truncated

我在

Windows上使用Egit和

Eclipse来尝试从私有

Git克隆存储库.它连接,但下载时我得到“Packfile被截断”错误.我的网络浏览器和文件浏览器都已关闭.有谁知道是什么问题?

org.eclipse.jgit.api.errors.TransportException: Packfile is truncated.

at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)

at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:187)

at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:127)

at org.eclipse.egit.core.op.CloneOperation.run(CloneOperation.java:156)

at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.executeCloneOperation(AbstractGitCloneWizard.java:433)

at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard.access$2(AbstractGitCloneWizard.java:426)

at org.eclipse.egit.ui.internal.clone.AbstractGitCloneWizard$5.run(AbstractGitCloneWizard.java:387)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: org.eclipse.jgit.errors.TransportException: Packfile is truncated.

at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:370)

at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:783)

at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:301)

at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:291)

at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:247)

at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)

at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)

at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138)

at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)

... 7 more

Caused by: java.io.EOFException: Packfile is truncated.

at org.eclipse.jgit.transport.PackParser.fill(PackParser.java:1138)

at org.eclipse.jgit.transport.PackParser.access$000(PackParser.java:97)

at org.eclipse.jgit.transport.PackParser$InflaterStream.read(PackParser.java:1663)

at java.io.InputStream.read(Unknown Source)

at org.eclipse.jgit.transport.PackParser.whole(PackParser.java:983)

at org.eclipse.jgit.transport.PackParser.indexOneObject(PackParser.java:916)

at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:487)

at org.eclipse.jgit.internal.storage.file.ObjectDirectoryPackParser.parse(ObjectDirectoryPackParser.java:194)

at org.eclipse.jgit.transport.PackParser.parse(PackParser.java:448)

at org.eclipse.jgit.transport.BasePackFetchConnection.receivePack(BasePackFetchConnection.java:762)

at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:363)

... 15 more

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/571634
推荐阅读
相关标签
  

闽ICP备14008679号