Summary: | unexpected NullPointerException | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Heribert Zok <Heribert.Zok> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | ||
Version: | 2.0.2 | ||
Target Milestone: | 2.1 RC3 | ||
Hardware: | PC | ||
OS: | Linux-Motif | ||
Whiteboard: |
Description
Heribert Zok
2003-03-06 12:38:31 EST
looks like java core I suspect we addressed this in 2.1 stream. Did you try to reproduce it in latest integration build (I20030304) ? According to the 2.0.2 source, the NPE can happen only if ResourcesPlugin.getWorkspace() returns null. This happens only on shutdown. The reconciler thread was still running after the workspace was reset to null. I confirm that this would have no consequence on restart. We could still add a protection in the 2.1 code. ResourcesPlugin.getWorkspace() should never return null. Entered bug 34069. Added null check in 2.1 stream. Verified. |