Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317454 - NPE when deleting extension point with no schema
Summary: NPE when deleting extension point with no schema
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.7 M1   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 10:16 EDT by Curtis Windatt CLA
Modified: 2010-08-03 14:23 EDT (History)
2 users (show)

See Also:


Attachments
Patch (1.79 KB, patch)
2010-06-30 15:35 EDT, Ankur Sharma CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.