Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 73412 - [PerspectiveBar] NPE closing perspective
Summary: [PerspectiveBar] NPE closing perspective
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-07 17:41 EDT by Olivier Thomann CLA
Modified: 2004-09-08 15:01 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 Olivier Thomann CLA 2004-09-07 17:41:32 EDT
Using 200409070800 in self-hosting, I got this error:

java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveChanged(WorkbenchWindow.java:894)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:948)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:880)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1253)
at org.eclipse.ui.internal.WorkbenchWindow.closePage(WorkbenchWindow.java:644)
at org.eclipse.ui.internal.WorkbenchPage$3.run(WorkbenchPage.java:848)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.close(WorkbenchPage.java:846)
at org.eclipse.ui.internal.WorkbenchPage.closePerspective(WorkbenchPage.java:1090)
at org.eclipse.ui.internal.WorkbenchPage.closePerspective(WorkbenchPage.java:1057)
at
org.eclipse.ui.internal.PerspectiveSwitcher$9.widgetSelected(PerspectiveSwitcher.java:824)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
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:585)
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)

STEPS TO REPRODUCE:
1) Start a new workspace in self-hosting
2) Close the welcome page
3) Select the "Open perspective" button and set the perspective to dock on left
4) Unselect "Show text"
5) Close the resource perspective
6) Open the Java perspective
7) Open the Error log view
8) You should have the above stack in the view.
Comment 1 Billy Biggs CLA 2004-09-08 15:01:59 EDT
Duplicate of 73359.

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