[jbosstools-issues] [JBoss JIRA] (JBIDE-14754) ClassCastException in JRE configuration preferences called out of new JBoss Runtime dialog

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Wed Jun 19 04:08:21 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andre Dietisheim updated JBIDE-14754:
-------------------------------------

    Steps to Reproduce: 
See [^StepsToReproduce.ogv]

# ASSERT: make sure you dont have any JBoss AS 7.1 runtime defined
# ASSERT: make sure you have a jdk6 added to your JRE's in Eclipse
# ASSERT: make sure your compiler settings are set to Java7
!compiler-settings.png!
# EXEC: launch the JBoss AS 7.1 server wizard
# EXEC: on the 2nd page, hit the *JRE* button
!as71-server-wizard-page-2.png!
# ASSERT: in the JRE wizard page, make sure that you have JDK6 activated so that the text + link *Conflicting compliance settings can be changed on the <Compiler> page* in the bottom appears
!jre-wizard-page.png!
# EXEC: hit the *Compiler* link

Result:
The Compiler page is not showing up. In the Eclipse log you can spot the stacktrace that's pasted above.

  was:
See [^StepsToReproduce.ogv]

# ASSERT: make sure you dont have any JBoss AS 7.1 runtime defined
# ASSERT: make sure you have a jdk6 added to your JRE's in Eclipse
# ASSERT: make sure your compiler settings are set to Java7
# EXEC: launch the JBoss AS 7.1 server wizard
# EXEC: on the 2nd page, hit the *JRE* button
!as71-server-wizard-page-2.png!
# ASSERT: in the JRE wizard page, make sure that you have JDK6 activated so that the text + link *Conflicting compliance settings can be changed on the <Compiler> page* in the bottom appears
!jre-wizard-page.png!
# EXEC: hit the *Compiler* link

Result:
The Compiler page is not showing up. In the Eclipse log you can spot the stacktrace that's pasted above.


    
> ClassCastException in JRE configuration preferences called out of new JBoss Runtime dialog
> ------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-14754
>                 URL: https://issues.jboss.org/browse/JBIDE-14754
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.1.0.Beta1
>            Reporter: Denis Golovin
>            Assignee: Rob Stryker
>             Fix For: 4.1.0.CR1
>
>         Attachments: as71-server-wizard-page-2.png, compiler-settings.png, jre-wizard-page.png, jre-wizard-page.png, StepsToReproduce.ogv
>
>
> {code}java.lang.ClassCastException: org.eclipse.jface.preference.PreferenceDialog cannot be cast to org.eclipse.ui.preferences.IWorkbenchPreferenceContainer
> 	at org.eclipse.jdt.internal.debug.ui.jres.JREsPreferencePage.openCompliancePreferencePage(JREsPreferencePage.java:192)
> 	at org.eclipse.jdt.internal.debug.ui.jres.JREsPreferencePage.access$0(JREsPreferencePage.java:190)
> 	at org.eclipse.jdt.internal.debug.ui.jres.JREsPreferencePage$1.widgetSelected(JREsPreferencePage.java:133)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
> 	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
> 	at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:361)
> 	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2079)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5430)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
> 	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8707)
> 	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
> 	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2287)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
> 	at org.eclipse.jface.window.Window.open(Window.java:802)
> 	at org.jboss.ide.eclipse.as.ui.wizards.JBossRuntimeWizardFragment$12.run(JBossRuntimeWizardFragment.java:803)
> 	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> 	at org.jboss.ide.eclipse.as.ui.wizards.JBossRuntimeWizardFragment.showPreferencePage(JBossRuntimeWizardFragment.java:800)
> 	at org.jboss.ide.eclipse.as.ui.wizards.JBossRuntimeWizardFragment$5.widgetSelected(JBossRuntimeWizardFragment.java:464)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
> 	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
> 	at org.eclipse.jface.window.Window.open(Window.java:802)
> 	at org.eclipse.wst.server.ui.internal.cnf.ServersView2$1.widgetSelected(ServersView2.java:116)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
> 	at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1530)
> 	at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:361)
> 	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2079)
> 	at org.eclipse.swt.widgets.Control.windowProc(Control.java:5430)
> 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
> 	at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8707)
> 	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
> 	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> 	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2287)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
> 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
> 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> 	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:354)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:601)
> 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
> 	at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list