Project: Eclipse_Platform_UI
Bug 55453 [DnD] ClassCastException in MarkerTransfer.lazyInit
Reported: 2004-03-20 13:21:39 | Status: verified fixed

build I20040318 Noticed this in my .log. Not sure what triggered it. I don't think I was doing DnD from any of the marker views. Perhaps the editor area one got triggered somehow? !SESSION Mar 20, 2004 11:44:17.537 --------------------------------------------- java.version=1.4.2_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -data d:\eclipse-new\plugins -showLocation !ENTRY org.eclipse.ui 4 4 Mar 20, 2004 11:44:17.537 !MESSAGE Category org.eclipse.swt.sleak not found for view org.eclipse.swt.sleak.views.SleakView. This view added to 'Other' category. !ENTRY org.eclipse.ui 4 4 Mar 20, 2004 11:55:18.337 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Mar 20, 2004 11:55:18.337 !MESSAGE java.lang.ClassCastException !STACK 0 java.lang.ClassCastException at org.eclipse.ui.part.MarkerTransfer.lazyInit(MarkerTransfer.java:144) at org.eclipse.ui.part.MarkerTransfer.javaToNative(MarkerTransfer.java:113) at org.eclipse.swt.dnd.DragSource.GetData(DragSource.java:373) at org.eclipse.swt.dnd.DragSource.access$7(DragSource.java:334) at org.eclipse.swt.dnd.DragSource$4.method3(DragSource.java:233) at org.eclipse.swt.internal.ole.win32.COMObject.callback3(COMObject.java:88) at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method) at org.eclipse.swt.internal.ole.win32.IDataObject.GetData(IDataObject.java:25) at org.eclipse.swt.dnd.ByteArrayTransfer.nativeToJava(ByteArrayTransfer.java:202) at org.eclipse.ui.part.MarkerTransfer.nativeToJava(MarkerTransfer.java:152) at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:416) at org.eclipse.swt.dnd.DropTarget.access$7(DropTarget.java:363) at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:232) at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:115) at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:277) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:263) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:157) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:810) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2424) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2102) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1448) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1419) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:257) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:90) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:260) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:173) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:106) 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:305) at org.eclipse.core.launcher.Main.run(Main.java:729) at org.eclipse.core.launcher.Main.main(Main.java:713)

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerView.java