| Summary: | [target] NPE in LoadTargetDefinitionJob#handleReload | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Nicolas Bros <nicolas.bros> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | curtis.windatt.public | ||||
| Version: | 3.6.2 | ||||||
| Target Milestone: | 3.8 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 352804 | ||||||
| Attachments: |
|
||||||
|
Description
Nicolas Bros
If there is a problem resolving, the getBundles call could return null. We should handle this case better. Created attachment 200123 [details]
Fix
There are three methods that the target may return null for if there is a problem resolving. Since we don't want to interrupt the user with the error dialog, this patch will set the results of the three methods to empty arrays.
Fixed in HEAD. See bug 352804 for backport to 3.7.1. Steps to repro not known. Verifiying by checking the build has the new code in I20110802-2000 |