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

Bug 317454

Summary: NPE when deleting extension point with no schema
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ankur_sharma, darin.eclipse
Version: 3.6   
Target Milestone: 3.7 M1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Curtis Windatt CLA 2010-06-21 10:16:31 EDT
1) Open a plug-in, go to the extension points page of the manifest editor
2) Create a new extension point
3) Remove the schema location from either the extension point wizard or from the editor.
4) Press delete to remove the extension point

java.lang.NullPointerException
at org.eclipse.core.runtime.Path.append(Path.java:261)
at org.eclipse.core.internal.resources.Container.getFile(Container.java:166)
at org.eclipse.pde.internal.ui.editor.plugin.ExtensionPointsSection.handleDelete(ExtensionPointsSection.java:242)
at org.eclipse.pde.internal.ui.editor.plugin.ExtensionPointsSection.doGlobalAction(ExtensionPointsSection.java:114)
at org.eclipse.pde.internal.ui.editor.PDEFormPage.performGlobalAction(PDEFormPage.java:155)
at org.eclipse.pde.internal.ui.editor.PDEFormEditor.performGlobalAction(PDEFormEditor.java:796)
at org.eclipse.pde.internal.ui.editor.PDEFormEditorContributor$GlobalAction.run(PDE
Comment 1 Ankur Sharma CLA 2010-06-30 15:35:17 EDT
Created attachment 173151 [details]
Patch
Comment 2 Ankur Sharma CLA 2010-06-30 15:37:03 EDT
Fixed in HEAD
Comment 3 Darin Wright CLA 2010-08-03 14:23:26 EDT
Verified.