| Summary: | TrimStack throws IAE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Remy Suen <remy.suen> | ||||
| Component: | UI | Assignee: | Dean Roberts <dean.t.roberts> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | dean.t.roberts, emoffatt, pwebster | ||||
| Version: | 4.2 | Flags: | pwebster:
review+
|
||||
| Target Milestone: | 4.2 M4 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Remy Suen
1. Minimize the shared area. 2. Ctrl+Shift+R > Open a file. 3. Activate a view so that the editor is minimized again. Many exceptions are in the log. Created attachment 206604 [details]
Fix for IAE exception and missing tool item
If the shared area is EMPTY, the minimize code was not adding the shared area tool item. This, eventually, resulted in the IAE exception when the fix selection code attempted to index the missing tool item.
The fix allows the tool items data to be set to null. I confirmed that the rest of the code in this class can handle the null data appropriately.
Released http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=1d016deba61f8585bd568dddf6e51c25d06dcc65 Thanx Dean. PW Verified on I20111205-2330 |