| Summary: | NPE in history view when deleted project is selected | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Tobias Oberlies <t-oberlies> |
| Component: | UI | Assignee: | Philipp Thun <philipp.thun> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | philipp.thun, stefan.lay |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Tobias Oberlies
Today I saw a similar error. After closing and removing a Git repository (that was shown in the history view before), I got the following error when clicking on commits in the - still opened - history view: org.eclipse.jgit.errors.MissingObjectException: Missing tree 44437440099c8757aaf0637567c98afb8c0945af at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:118) at org.eclipse.jgit.treewalk.CanonicalTreeParser.reset(CanonicalTreeParser.java:193) at org.eclipse.jgit.treewalk.TreeWalk.parserFor(TreeWalk.java:982) ... When clicking on an entry in the file list belonging to a commit the error is different: org.eclipse.jgit.errors.MissingObjectException: Missing blob 08bb2331e777f431177c40df6841c0034f89fb58 at org.eclipse.jgit.storage.file.WindowCursor.open(WindowCursor.java:118) at org.eclipse.jgit.diff.ContentSource$ObjectReaderSource.open(ContentSource.java:146) at org.eclipse.jgit.diff.ContentSource$Pair.open(ContentSource.java:329) ... Fix proposed: http://egit.eclipse.org/r/2945 Fixed in nightly build. |