Summary: | [model] NPE in CancelableNameEnvironment | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dirk Baeumer <dirk_baeumer> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | sdavids |
Version: | 3.1 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Dirk Baeumer
2004-11-30 07:30:09 EST
Looks like the JavaElementInfo#pathToResolvedEntries field was reset to null while the NameLookup was being created. JavaProjectElementInfo#resetCaches() should be synchronized to avoid such a scenario. *** Bug 81122 has been marked as a duplicate of this bug. *** Moved the code that creates a NameLookup to JavaProjectElementInfo#newNameLookup and synchronized this method as well as resetCaches. Verified in I20050214-0927 |