| Summary: | NPE during Add Artifact to Target Platform | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Andrew Niefer <aniefer> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | curtis.windatt.public, darin.eclipse | ||||
| Version: | 3.6 | Flags: | darin.eclipse:
review+
|
||||
| Target Milestone: | 3.6.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Andrew Niefer
Removing the "Unspecified Site" from the target lets the content tab show content again. This is caused by the bundle container having fIncludeMultipleEnvironments==false The IU being added does not match the current platform, and the slicer returns null because the input IUs don't match the platform. The status can be seen on slicer.getStatus() The inability to resolve the contents of the target is caused by this same NPE. Created attachment 168987 [details]
patch
Patch works great, thanks Andrew! Applied to HEAD and 3.6.1. Darin, please review. Verified. Verified that the fix to bug 324336 didn't remove this fix in M20100902-1717. |