Project: Eclipse_Platform_UI
Bug 30890 [View Mgmt] Can't close a lazy fast view
Reported: 2003-02-04 12:56:10 | Status: resolved fixed

build I20030129 - make some views fast views - shutdown and restart - without activating fast view first, right click on its icon and choose Close - nothing happens - nothing in log Also: - right click again and choose Fast View - nothing happens (it remains checked) - try it again - the icon disappears but the view is not converted to a regular view - log has: !ENTRY org.eclipse.ui 4 0 Feb 04, 2003 12:50:06.826 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.Perspective.removeFastView (Perspective.java:778) at org.eclipse.ui.internal.WorkbenchPage.removeFastView (WorkbenchPage.java:2079) at org.eclipse.ui.internal.WorkbenchWindow$9.widgetSelected (WorkbenchWindow.java:1364) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:836) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1240) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1223) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Perspective.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchPage.java