| Summary: | [backports] Eclipse crashes with NPE on existing workspace (after closing window twice) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r | ||||
| Version: | 4.2 | Flags: | daniel_megert:
review+
|
||||
| Target Milestone: | 4.2.2+ | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 381555 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
Pushed http://git.eclipse.org/c/platform/eclipse.platform.ui.git/log/?h=mkeller/Bug_482162_R4_2_maintenance with proposed fixes for 4.2.2+ I verified that the first 3 commits - avoid writing a bad workbench.xmi - allow to start up with a bad workbench.xmi (thereby losing perspective configs) The 4th commit resolves the root problem (that the window gets removed from the model). Cherry-picking was quite painful in EGit. Filed bug 482154. Created attachment 258120 [details]
patch482162_R4_2_maintenance.txt
Here's a flat patch file that includes the changes from all 4 commits.
I've reviewed the new code and the other 3 commits. The code looks good and I could not reproduce the problem and also not the regression reported in bug 381555 comment 36. The copyright dates should be updated to 2015. Pushed to R4_2_maintenance: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7edf74a51a1f56d4aa08e5bba9fe8658822cc51c Backporting to the later maintenance branches now. Pushed to R4_5_maintenance: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=daaa20bcd06c8f1186b13482a1c54a0799dee883 Pushed to R4_4_maintenance: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=b46c3bba33f1f1a321d905e61e273e87c71e8bc2 and parent commit (for bug 463125) Pushed to R4_3_maintenance: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=09ffb223efb2ad9d256e36b6debc4efab6725bd4 and 3 parent commits (for bug 416673 and bug 463125) |