| Summary: | [Tree] Expand/Collapse event has null item in some cases | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 2.0 | ||||||
| Target Milestone: | 3.0 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | sr231 | ||||||
| Attachments: |
|
||||||
|
Description
Ivan Furnadjiev
Created attachment 244466 [details]
Workbench Demo patch to reproduce the issue
1. Apply the patch to Workbench Demo
2. Activate View II (next to the chart)
3. Click on "Refresh" view part action
4. Before the blocking overlay appear expand the root item
NPE is printed on the console.
The cause: TreeOperationHandler fire expand/collapse event regardless the item. We should not fire the event if item is null (item is already disposed in the previous request). Pending change: https://git.eclipse.org/r/28913 Fixed in master with change https://git.eclipse.org/r/28913. |