| Summary: | NPE thrown when activating a part after resetting a perspective without an editor area and the last active part was in the area | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Eric Moffatt <emoffatt> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Eric Moffatt <emoffatt> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 1.0 | ||||||
| Target Milestone: | 4.1 M4 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
There are two problems here. One, the perspective does not have an active part by default despite the fact that there is another part in it. Two, the area does not appear to have had its shared reference reset to some other valid element given that the area no longer exists in the current perspective, its shared reference should have been set to something else (that is actually valid). Created attachment 182836 [details]
reset the 'curSharedRef' on a placeholder's dispose
Committed in >20101110. Applied the patch. (In reply to comment #3) > Committed in >20101110. Applied the patch. Marking this bug as fixed as the NPE will no longer be thrown. Opened bug 329930 for the activation problem. Verified in I20101207-0250. |