Summary: | NPE in type hierarchy when opening type | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Knut Radloff <knut_radloff> | ||||
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.0 | ||||||
Target Milestone: | 3.0 M3 | ||||||
Hardware: | PC | ||||||
OS: | Windows 2000 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Knut Radloff
2003-06-20 11:16:41 EDT
Created attachment 5256 [details]
log file
Jerome - didn't you fix this one already? This is a different problem. The NPE happens in the following code: if (this.changeListeners == null) { return; } this.changeListeners.remove(listener); if (this.changeListeners.isEmpty()) { // <----------- NPE here deactivate(); } Sounds like a jit problem. Knut do you remember the VM version you were using? Will work around the problem by using a local var. I was probably running on J2SC20030611. If not that then the next older SC version. Fixed by using a local var and synchronizing the removeTypeHierarchyChangedListener(...) method. *** Bug 41355 has been marked as a duplicate of this bug. *** Verified. |