Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 262977 - NPE editing external site.xml
Summary: NPE editing external site.xml
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Chris Aniszczyk CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 17:18 EST by Andrew Niefer CLA
Modified: 2009-02-03 12:55 EST (History)
1 user (show)

See Also:


Attachments
proposed patch (4.66 KB, patch)
2009-01-29 17:49 EST, Benjamin Cabé CLA
caniszczyk: iplog+
Details | Diff
mylyn/context/zip (2.31 KB, application/octet-stream)
2009-01-29 17:49 EST, Benjamin Cabé CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Niefer CLA 2009-01-29 17:18:47 EST
Drag and drop an external site.xml into the editor area.

Get an NPE:
ception
	at org.eclipse.pde.internal.ui.editor.site.SiteEditor.createSystemFileContexts(SiteEditor.java:93)
	at org.eclipse.pde.internal.ui.editor.PDEFormEditor.createInputContexts(PDEFormEditor.java:205)
	at org.eclipse.pde.internal.ui.editor.PDEFormEditor.createPages(PDEFormEditor.java:243)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:329)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:678)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:444)
Comment 1 Benjamin Cabé CLA 2009-01-29 17:49:02 EST
Created attachment 124218 [details]
proposed patch
Comment 2 Benjamin Cabé CLA 2009-01-29 17:49:13 EST
Created attachment 124219 [details]
mylyn/context/zip
Comment 3 Chris Aniszczyk CLA 2009-02-03 12:55:04 EST
done.

> 20090203

Thanks!