Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] UnpackedObject and CorruptObjectException

I'm receiving following Exception when invoking RenameDetector. I have
no problems when performing "git diff" for the same commit. How should I
proceed with debugging?

Caused by: org.eclipse.jgit.errors.CorruptObjectException: Object
41ab2dcc9c58bebb80672f39220e74baead07e1f is corrupt: incorrect length
	at
org.eclipse.jgit.storage.file.UnpackedObject.checkValidEndOfStream(UnpackedObject.java:250)
	at
org.eclipse.jgit.storage.file.UnpackedObject.access$100(UnpackedObject.java:77)
	at
org.eclipse.jgit.storage.file.UnpackedObject$1.close(UnpackedObject.java:306)
	at java.io.BufferedInputStream.close(BufferedInputStream.java:451)
	at org.eclipse.jgit.lib.ObjectStream$Filter.close(ObjectStream.java:229)
	at org.eclipse.jgit.diff.SimilarityIndex.hash(SimilarityIndex.java:119)
	at
org.eclipse.jgit.diff.SimilarityRenameDetector.hash(SimilarityRenameDetector.java:335)
	at
org.eclipse.jgit.diff.SimilarityRenameDetector.buildMatrix(SimilarityRenameDetector.java:257)
	at
org.eclipse.jgit.diff.SimilarityRenameDetector.compute(SimilarityRenameDetector.java:127)
	at
org.eclipse.jgit.diff.RenameDetector.findContentRenames(RenameDetector.java:470)
	at org.eclipse.jgit.diff.RenameDetector.compute(RenameDetector.java:361)
	at org.eclipse.jgit.diff.RenameDetector.compute(RenameDetector.java:337)
	at org.eclipse.jgit.diff.RenameDetector.compute(RenameDetector.java:314)
	at org.eclipse.jgit.diff.RenameDetector.compute(RenameDetector.java:297)

--
Best regards,
Marc Strapetz
=============
syntevo GmbH
http://www.syntevo.com
http://blog.syntevo.com



Back to the top