Issue Details (XML | Word | Printable)

Key: FXP-59
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bratukhin, Andrey
Reporter: Katz, Max
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JavaFX plug-in

Configure for adding JavaFX SDK button doesn't work when creating new JavaFX project

Created: 03/May/10 06:25 AM   Updated: 17/May/10 07:29 PM   Resolved: 04/May/10 02:27 AM
Component/s: None
Affects Version/s: 1.3.0
Fix Version/s: 1.3.1

Time Tracking:
Not Specified


 Description  « Hide
Start creating new JavaFX project
Click Configure button to add JavaFX SDK, nothing happens, exception in error console:

null
Error
Mon May 03 06:15:40 PDT 2010
Unhandled event loop exception

java.lang.ClassCastException: org.eclipse.ui.internal.ide.dialogs.IDEWorkbenchPreferencePage cannot be cast to com.exadel.javafx.ide.internal.ui.preference.page.RuntimePreferencePage
at com.exadel.javafx.ide.internal.ui.composite.JFXRuntimesDataProvider.configureRuntime(JFXRuntimesDataProvider.java:46)
at com.exadel.javafx.ide.internal.ui.composite.JFXProjectRuntimeComposite.pressConfigButton(JFXProjectRuntimeComposite.java:207)
at com.exadel.javafx.ide.internal.ui.composite.JFXProjectRuntimeComposite.widgetSelected(JFXProjectRuntimeComposite.java:197)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:135)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)



There are no comments yet on this issue.