phphenrique / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

Failed to refresh quickdiff when no editor is open #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With no editor page open I get hundreds of errors per second in my
workbench Error Log while the Repository Change Scanner is running in the
background:

Failed to refresh quickdiff:
org.spearce.jgit.errors.MissingObjectException: Missing tree
96f6cd4312f9e8b85c3e2de6d924dfc6333e2377
    at org.spearce.jgit.lib.Tree.ensureLoaded(Tree.java:529)
    at org.spearce.jgit.lib.Tree.findMember(Tree.java:465)
    at org.spearce.jgit.lib.Tree.findMember(Tree.java:471)
    at org.spearce.jgit.lib.Tree.findMember(Tree.java:453)
    at org.spearce.jgit.lib.Tree.findBlobMember(Tree.java:486)
    at
org.spearce.egit.ui.internal.decorators.GitDocument.populate(GitDocument.java:55
)
    at
org.spearce.egit.ui.internal.decorators.GitDocument.refsChanged(GitDocument.java
:76)
    at org.spearce.jgit.lib.Repository.fireRefsMaybeChanged(Repository.java:1125)
    at org.spearce.jgit.lib.RefDatabase.readRefs(RefDatabase.java:206)
    at org.spearce.jgit.lib.RefDatabase.getAllRefs(RefDatabase.java:179)
    at org.spearce.jgit.lib.Repository.getAllRefs(Repository.java:911)
    at org.spearce.jgit.lib.Repository.scanForRepoChanges(Repository.java:1150)
    at org.spearce.egit.ui.Activator$RCS.run(Activator.java:264)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Original issue reported on code.google.com by shawn.pe...@gmail.com on 29 Aug 2008 at 12:15

GoogleCodeExporter commented 8 years ago
What I think may be going on here is that the memory mapping does not succeed in
getting memory to read the object. Now, It shouldn't even try of course.

Please add JVM version, platform, memory, repository size to this report.

Original comment by robin.ro...@gmail.com on 17 Sep 2008 at 9:18

GoogleCodeExporter commented 8 years ago
96f6 is a tree in egit.git.  Its a valid tree.  Not only that, its reachable 
from
repo.or.cz/egit.git master so the tree better not be missing from the 
repository.  (I
just checked, I do have it and it is valid.)

Linux x86_64, Ubuntu 6.06.
Eclipse 3.4.0 (build I20080617-2000)
Java 1.6.0_01-b06
-Xms384m -Xmx1200m
Default JGit repository WindowCache config (I haven't tweaked it)

Original comment by shawn.pe...@gmail.com on 20 Sep 2008 at 1:22

GoogleCodeExporter commented 8 years ago
Lots of changes made to handle this and similar cases.

Original comment by robin.ro...@gmail.com on 15 May 2009 at 9:46