Project: Eclipse_Platform_UI
Bug 10757 ClassCast when I hit F1
Reported: 2002-03-05 08:58:46 | Status: resolved fixed

20020304-N Win2K I created a Java project. Have opened Java package wizard. Hit F1 on first page. Get internal error. Log: Tue Mar 05 08:55:51 EST 2002 4 org.eclipse.ui 0 org.eclipse.ui.help.DialogPageContextComputer java.lang.ClassCastException: org.eclipse.ui.help.DialogPageContextComputer at org.eclipse.ui.help.WorkbenchHelp$1.helpRequested(WorkbenchHelp.java:207) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:191) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled Code)) at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code)) at org.eclipse.jface.window.Window.open(Window.java:525) at org.eclipse.ui.internal.NewWizardShortcutAction.run(NewWizardShortcutAction.java :79) at org.eclipse.jface.action.Action.runWithEvent(Action.java:452) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionCont ributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContribu tionItem.java:361) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem. java:352) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(Actio nContributionItem.java:47) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(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:771) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:77 7) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:502) at org.eclipse.core.launcher.Main.main(Main.java:362)

Files changed in fix:
bundles/org.eclipse.ui/Eclipse UI Standard Components/org/eclipse/ui/views/properties/PropertySheetPageContextComputer.java bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/help/DialogPageContextComputer.java bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/help/ViewContextComputer.java bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/help/WorkbenchHelp.java