Project: Eclipse_Platform_UI
Bug 323713 [DND] Drop affordance drawn in minimized stack but throws IAE when mouse button is released
Reported: 2010-08-26 10:28:27 | Status: verified fixed

M20100825-0800 1. Minimize the 'Package Explorer'. 2. Drag the 'Problems' view so that your mouse cursor is below the icon of the 'Package Explorer' in the left trim. 3. Release your mouse button. 4. The view doesn't actually get moved to the trim. 5. An IAE is logged. java.lang.IllegalArgumentException: Argument cannot be null at org.eclipse.swt.SWT.error(SWT.java:4064) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.SWT.error(SWT.java:3969) at org.eclipse.swt.widgets.Widget.error(Widget.java:468) at org.eclipse.swt.widgets.ToolBar.indexOf(ToolBar.java:651) at org.eclipse.ui.internal.FastViewDnDHandler$ViewDropTarget.drop(FastViewDnDHandler.java:87) at org.eclipse.ui.internal.dnd.DragUtil.performDrag(DragUtil.java:134) at org.eclipse.ui.internal.PartStack.paneDragStart(PartStack.java:1751) at org.eclipse.ui.internal.PartStack.dragStart(PartStack.java:1703) at org.eclipse.ui.internal.PartStack.access$0(PartStack.java:1694) at org.eclipse.ui.internal.PartStack$1.dragStart(PartStack.java:125) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:118) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:269) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:282) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleDragStarted(AbstractTabFolder.java:366) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$2.handleEvent(AbstractTabFolder.java:67) at org.eclipse.ui.presentations.PresentationUtil.handleMouseMove(PresentationUtil.java:110) at org.eclipse.ui.presentations.PresentationUtil.access$4(PresentationUtil.java:95) at org.eclipse.ui.presentations.PresentationUtil$2.handleEvent(PresentationUtil.java:63) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)

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