Community
Participate
Working Groups
Created attachment 204391 [details] Screenshot depicting the state in question. Eclipse 3.8 I20110927-0800 EGit 1.2.0.201109300915 1. Started Eclipse and it was building my workspace. 2. I canceled that. 3. Went to the 'History' view to checkout a commit from a few weeks ago. 4. Noticed EGit was working because the 'Git Staging' view was open. So I closed it to cancel its indexing job. 5. Some time later I get a bunch of NPEs. And now my projects are "unknown". java.lang.NullPointerException at org.eclipse.egit.core.internal.indexdiff.IndexDiffData.<init>(IndexDiffData.java:81) at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.calcIndexDiffData(IndexDiffCacheEntry.java:240) at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry.access$6(IndexDiffCacheEntry.java:223) at org.eclipse.egit.core.internal.indexdiff.IndexDiffCacheEntry$4.run(IndexDiffCacheEntry.java:189) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
(In reply to comment #0) > 5. Some time later I get a bunch of NPEs. And now my projects are "unknown". It seems the decorators came back while I was filling out this bug report. :)
The wrong intermediate state of decorators has also been mentioned in bug 333204 comment 19.
Fix proposed: http://egit.eclipse.org/r/4350
merged as e75924d5a54762ed1916c2f727febb7826b84880