Project: Eclipse_Platform_UI
Bug 32511 [Editor Mgmt] DND from task list to Editor causes ClassCastException
Reported: 2003-02-21 14:51:57 | Status: verified fixed

Eclipse 20030219 Create a task that is not associated with a file. Drag that task to the editor area The following exception is generated. !ENTRY org.eclipse.ui 4 4 Feb 21, 2003 14:48:51.350 !MESSAGE *** Stack trace of contained exception *** !ENTRY org.eclipse.ui 4 0 Feb 21, 2003 14:48:51.366 !MESSAGE org.eclipse.core.internal.resources.WorkspaceRoot !STACK 0 java.lang.ClassCastException: org.eclipse.core.internal.resources.WorkspaceRoot at org.eclipse.ui.internal.WorkbenchPage.openMarker (WorkbenchPage.java:1921) at org.eclipse.ui.internal.WorkbenchPage.openInternalEditor (WorkbenchPage.java:1915) at org.eclipse.ui.internal.EditorAreaDropAdapter.asyncDrop (EditorAreaDropAdapter.java:78) at org.eclipse.ui.internal.EditorAreaDropAdapter.access$0 (EditorAreaDropAdapter.java:52) at org.eclipse.ui.internal.EditorAreaDropAdapter$1.run (EditorAreaDropAdapter.java:47) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java(Compiled Code)) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages (Synchronizer.java(Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1244) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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/WorkbenchPage.java