Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 73640 - [Workbench] NPE opening system editor on HTML file
Summary: [Workbench] NPE opening system editor on HTML file
Status: RESOLVED DUPLICATE of bug 73359
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Billy Biggs CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 00:53 EDT by Darin Swanson CLA
Modified: 2004-09-20 12:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Swanson CLA 2004-09-10 00:53:59 EDT
I200409070800

In org.eclipse.ant.core I opened r3_0_buildnotes_platform-ant.html with the 
text editor (by double clicking in the package explorer).
I then used the package explorer context menu to open with the system editor.

External browser opened but:
java.lang.NullPointerException
	at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged
(WorkbenchWindow.java:914)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
(WorkbenchPage.java:2316)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2216)
	at org.eclipse.ui.internal.WorkbenchPage.access$6
(WorkbenchPage.java:2208)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2194)
	at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2189)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2174)
	at org.eclipse.ui.actions.OpenWithMenu.openEditor
(OpenWithMenu.java:276)
	at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:268)
	at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent
(OpenWithMenu.java:176)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2783)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2442)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1435)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1406)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:263)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:102)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:335)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
	at org.eclipse.core.launcher.Main.run(Main.java:644)
	at org.eclipse.core.launcher.Main.main(Main.java:628)
Comment 1 Billy Biggs CLA 2004-09-20 12:34:47 EDT

*** This bug has been marked as a duplicate of 73359 ***