Project: Eclipse_Platform_UI
Bug 29649 [View Mgmt] NPE in Perspective.removeFastView
Reported: 2003-01-16 12:04:02 | Status: resolved fixed

build I20030115 - was dragging the Outline view from the fast view bar to over the Tasks view area - got the following NPE: !SESSION Jan 16, 2003 12:28:52.02 --------------------------------------------- - java.fullversion=J2RE 1.3.1 IBM Windows 32 build cn131-20020403 (JIT enabled: jitc) BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -install file:D:/eclipse-I20030115/eclipse/ !ENTRY org.eclipse.ui 4 4 Jan 16, 2003 12:28:52.02 !MESSAGE Unhandled exception caught in event loop. !ENTRY org.eclipse.ui 4 0 Jan 16, 2003 12:28:52.18 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.ui.internal.Perspective.removeFastView (Perspective.java:713) at org.eclipse.ui.internal.WorkbenchPage.removeFastView (WorkbenchPage.java:1927) at org.eclipse.ui.internal.PerspectivePresentation.onPartDrop (PerspectivePresentation.java:1267) at org.eclipse.ui.internal.WorkbenchWindow$1.drop (WorkbenchWindow.java:276) at org.eclipse.ui.internal.PartDragDrop.openTracker (PartDragDrop.java:399) at org.eclipse.ui.internal.PartDragDrop.handleMouseMove (PartDragDrop.java:308) at org.eclipse.ui.internal.PartDragDrop$2.mouseMove (PartDragDrop.java:71) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:138) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) 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:1467) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1450) 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/PerspectivePresentation.java