| Summary: | potential NPE in SystemView$ExpandRemoteObjects.execute() | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | David McKnight <dmcknigh> | ||||
| Component: | RSE | Assignee: | David McKnight <dmcknigh> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.2 | ||||||
| Target Milestone: | 3.3 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 342560 | ||||||
| Attachments: |
|
||||||
Created attachment 192773 [details]
patch to check for null callback
I've committed the fix to cvs. |
In SystemView$ExpandRemoteObjects.execute() we have the following code: if (item != null && !item.isDisposed()) { IRSECallback callback = getCallbackForSubChildren(itemToExpand, _toExpand); createChildren(item, callback); ((TreeItem) item).setExpanded(true); } The problem is that getCallbackForSubChildren() can return null and we're not checking for that case.