[
https://issues.jboss.org/browse/FORGE-1734?page=com.atlassian.jira.plugin...
]
George Gastaldi commented on FORGE-1734:
----------------------------------------
Implemented ShellHandle as an interface. This does not solve the original bug however that
may be lying in Furnace
CCE when starting up the integrated Forge console in JBT
--------------------------------------------------------
Key: FORGE-1734
URL:
https://issues.jboss.org/browse/FORGE-1734
Project: Forge
Issue Type: Bug
Components: Furnace (Container)
Reporter: Koen Aers
This is the stack trace that results:
!ENTRY org.eclipse.ui 4 0 2014-04-04 17:04:12.441
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException:
org.jboss.forge.furnace.proxy.ForgeProxy_$$_javassist_e30dba7a-ee9b-437c-9b4d-ee8a2a5ac750
cannot be cast to org.jboss.forge.addon.shell.ShellHandle)
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3978)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1122)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1006)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:147)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:630)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:574)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:133)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:103)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:378)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:232)
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:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassCastException:
org.jboss.forge.furnace.proxy.ForgeProxy_$$_javassist_e30dba7a-ee9b-437c-9b4d-ee8a2a5ac750
cannot be cast to org.jboss.forge.addon.shell.ShellHandle
at org.jboss.tools.forge.ui.ext.cli.F2Console.start(F2Console.java:19)
at org.jboss.tools.aesh.ui.view.AeshTextViewer$3.run(AeshTextViewer.java:79)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
... 24 more
--
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