Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320123

Summary: NPE : Cannot import project as source from target platform
Product: [Eclipse Project] PDE Reporter: John Camelon <john.camelon>
Component: UIAssignee: Curtis Windatt <curtis.windatt.public>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public, daniel_megert, darin.eclipse, pwebster, remy.suen
Version: 3.6Flags: darin.eclipse: review+
Target Milestone: 3.6.1   
Hardware: PC   
OS: Linux   
Whiteboard:

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.