| Summary: | [SWT_AWT] NPE when enabling a disabled embedded shell | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christopher Deckers <chrriis> | ||||
| Component: | SWT | Assignee: | Lakshmi P Shanmugam <lshanmug> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Silenio_Quarti | ||||
| Version: | 3.8 | Flags: | Silenio_Quarti:
review+
|
||||
| Target Milestone: | 3.7.2 | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Christopher Deckers
Created attachment 194452 [details]
Simple test case showing the issue
Anyone to help? I have a certain number of users hitting this bug and the fix is simply to change the test to: if (enabled && window != null && window.isMainWindow()) Its a side effect of fix for Bug 331676. Fixed in 3.8 by adding the missing null check. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=b3a36839847c602b69686b1a6d73c49d37144b5d Hi Silenio, can you please review for 3.7.2? Pushed fix to R3_7_maintenance branch > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=R3_7_maintenance&id=3ead1d28c6d3e0f463be961b8e3be1e19d2e7d04 |