Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] "TransportException: Packfile is truncated" intermittently on remote sync

Large files and repositories have been known to cause problems, both slow operation and
errors, in Git, JGit, and PTP. We continue to work on these.

You can change the file-filtering rules from within the new synchronized project wizard, and
these changes are applied to the first sync. So this is one way to mitigate the problem.

Please share the directory if possible. There is some evidence that the way files are distributed,
not just the sheer size of the repository, triggers these types of problems. So having your exact
contents could be very helpful.


Thanks
John

On Mon, Oct 6, 2014 at 11:44 AM, Rocky Dunlap <rocky.dunlap@xxxxxxxx> wrote:
When remote syncing with larger projects (466MB) , I will sometimes
receive the following error when attempting the first sync (bringing
all remote files locally).  It happens ~40% of the time.  After
receiving the error, if I re-sync it will usually complete
successfully.

I don't know if it will be hard to reproduce.  I am on Windows and the
remote machine is Linux (an Amazon EC2 virtual machine).  I can
provide the remote directory if necessary.


!STACK 0
org.eclipse.jgit.errors.TransportException: Packfile is truncated.
at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:370)
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:1111)
at org.eclipse.ptp.internal.rdt.sync.git.core.JGitRepo.fetch(JGitRepo.java:351)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.doSyncRL(GitSyncService.java:679)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.doSync(GitSyncService.java:604)
at org.eclipse.ptp.internal.rdt.sync.git.core.GitSyncService.synchronize(GitSyncService.java:506)
at org.eclipse.ptp.rdt.sync.core.SyncManager$SynchronizeJob.run(SyncManager.java:80)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
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)
... 12 more
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ptp-user


Back to the top