Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320123 - NPE : Cannot import project as source from target platform
Summary: NPE : Cannot import project as source from target platform
Status: VERIFIED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.6.1   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 12:08 EDT by John Camelon CLA
Modified: 2010-08-30 13:00 EDT (History)
5 users (show)

See Also:
darin.eclipse: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Camelon CLA 2010-07-16 12:08:27 EDT
Build Identifier: Build id: I20100608-0911

Running on 64-bit GTK2. 

java.lang.NullPointerException
at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.deleteConflictingProjects(PluginImportOperation.java:189)
at org.eclipse.pde.internal.ui.wizards.imports.PluginImportOperation.runInWorkspace(PluginImportOperation.java:129)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always
Comment 1 John Camelon CLA 2010-07-16 12:17:35 EDT
Additional information:
  - Running in Rational Team Concert M7a driver.  RTC's SCM uses a custom EFS implementation for its file area.
Comment 2 Curtis Windatt CLA 2010-07-19 09:25:59 EDT
NPE happens only if we are missing a bundle description for a workspace plug-in (which is unusual in the base Eclipse case), we can add an NPE check.
Comment 3 Curtis Windatt CLA 2010-07-28 11:25:29 EDT
Fixed in HEAD, see PluginImportOperation.java.
Comment 4 Darin Wright CLA 2010-08-03 10:06:02 EDT
re-opening for 3.6.1
Comment 5 Darin Wright CLA 2010-08-03 10:10:33 EDT
Released to 3.6.1
Comment 6 Curtis Windatt CLA 2010-08-30 13:00:38 EDT
Verified.