| Summary: | [target] NPE in load target definition when install location has errors | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.7 | ||
| Target Milestone: | 3.8 M6 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
Can't reproduce anymore, but I changed the constructor of NameVersionDescriptor to assert the ID as not null. If the problem surfaces again it will give a much better stack trace then the hashCode NPE. The NPE came up again. This time I was able to track down the cause. Typically the only time we use InvalidTargetBundles is when there is a missing bundle. However, the ProfileBundleContainer also uses them when a file can't be found in hte Bundles.info list. Since we only have a location for the invalid bundle, if we try to make a name/version descriptor for it, it dies. This was happening in two places, in the target content group (we try to save missing bundles information) and during resolution (we never checked the all bundles list for error statuses). Fixed in master. |