| Summary: | NPE when trying to import projects from a repo for running platform | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Tomasz Zarna <tomasz.zarna> | ||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | curtis.windatt.public | ||||
| Version: | 3.7 | Keywords: | contributed | ||||
| Target Milestone: | 3.7 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tomasz Zarna
The problem is in PluginImportWizardFirstPage. We need to create a state from the chosen target, so we resolve it and get the bundle urls. We don't get urls for bundles that have errors (problems downloading or bad manifests, etc). However, we create the array holding them ahead of time (resulting in null entries). Just changing to an arraylist will avoid this. I've just noticed that my Running Platform points to a non-existing directory, so you won't be able to read any of the plug-in manifests. Created attachment 185413 [details]
Fix v01
Will this do the job?
Fixed in HEAD. Thanks. Verified in I20110126-0800 |