[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] history view brokenness

Markus Duft wrote:
> On 04/02/12 09:38, Christian Halstrick wrote:
> > I also have the issue that history view is blank when I start
> > eclipse.
> > Even when I select a resources (e.g. project) the history view stays
> > blank. Then I right-click on the project resource and select "Show
> > in
> > History", this solves the problems. But thats definitly a workaround
> > around a bug.
> 
> and some more. i got this when deleting a branch:
> 
> java.lang.NullPointerException
> at
> org.eclipse.jgit.storage.file.ByteArrayWindow.setInput(ByteArrayWindow.java:78)
> at
> org.eclipse.jgit.storage.file.ByteWindow.setInput(ByteWindow.java:128)
> at
> org.eclipse.jgit.storage.file.WindowCursor.inflate(WindowCursor.java:286)
> at
> org.eclipse.jgit.storage.file.PackFile.decompress(PackFile.java:308)
> at org.eclipse.jgit.storage.file.PackFile.load(PackFile.java:697)
> at org.eclipse.jgit.storage.file.PackFile.get(PackFile.java:227)
> at
> org.eclipse.jgit.storage.file.ObjectDirectory.openObject1(ObjectDirectory.java:439)
> at
> org.eclipse.jgit.storage.file.FileObjectDatabase.openObjectImpl1(FileObjectDatabase.java:172)
> at
> org.eclipse.jgit.storage.file.FileObjectDatabase.openObject(FileObjectDatabase.java:157)
> at
> org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:122)
> at org.eclipse.jgit.revwalk.RevWalk.getCachedBytes(RevWalk.java:855)
> at org.eclipse.jgit.revwalk.RevCommit.parseHeaders(RevCommit.java:136)
> at
> org.eclipse.jgit.revwalk.PendingGenerator.next(PendingGenerator.java:148)
> at
> org.eclipse.jgit.revwalk.TopoSortGenerator.<init>(TopoSortGenerator.java:78)
> at
> org.eclipse.jgit.revwalk.StartGenerator.next(StartGenerator.java:163)
> at org.eclipse.jgit.revwalk.RevWalk.next(RevWalk.java:420)
> at org.eclipse.jgit.revplot.PlotWalk.next(PlotWalk.java:132)
> at
> org.eclipse.jgit.revwalk.RevCommitList.fillTo(RevCommitList.java:305)
> at
> org.eclipse.egit.ui.internal.history.GenerateHistoryJob.run(GenerateHistoryJob.java:68)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I just got a very similar one, I added a comment to this bug including a theory:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=374675

Could any History View expert please have a look at it? It may be the same
cause for a great many of similar exceptions reported in this area.

Regards,
  Robin Stocker