Zn2O / gwt-google-apis

Automatically exported from code.google.com/p/gwt-google-apis
0 stars 0 forks source link

GWT crashes with the following error "ClassCastException" in the hosted mode (in class JsValueGlue) #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Found in Release: 1.5.2

Detailed description:

java.lang.ClassCastException
    at java.lang.Class.cast(Class.java:2990)
    at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:122)
    at 
com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.
java:57)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:119
)
    at 
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    at 
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
    at 
org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
    at 
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
    at 
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
    at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.
java:67)
    at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:152
)
    at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:447)
    at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:248)
    at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.jav
a:107)
    at com.gwtext.client.widgets.Component.render(Component.java)
    at 
com.gwtext.client.widgets.Component.getElement(Component.java:427)
    at 
com.gwtext.client.widgets.Component.getElement(Component.java:405)
    at 
com.google.gwt.user.client.ui.Composite.initWidget(Composite.java:83)
    at 
com.infovista.vbtx.ui.client.console.widgets.ConsoleTree.<init>(ConsoleTree
.java:85)
    at 
com.infovista.vbtx.ui.client.console.Console.displayConsole(Console.java:95
)
    at 
com.infovista.vbtx.ui.client.console.ConsolePage.activate(ConsolePage.java:
62)
    at 
com.infovista.vbtx.ui.client.Reports$10.onTabChange(Reports.java:392)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java:126
)
    at 
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:155)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
    at 
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
    at 
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native 
Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
    at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
    at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
    at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
    at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

Workaround if you have one:

Links to the relevant GWT Developer Forum posts:

Original issue reported on code.google.com by cristesc...@gmail.com on 3 Sep 2008 at 9:47

GoogleCodeExporter commented 9 years ago
Where you using AJAX Search, Gadgets, Gears, or Maps when this happened?  I 
only see regular GWT code in the 
stack trace.

Original comment by mmendez+personal@google.com on 3 Sep 2008 at 9:58

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
nope ... no gadgets, only GWT and GWT-Ext (TreePanel as widget of a Composite).

It's the same problem like it's described here: http://www.gwt-
ext.com/forum/viewtopic.php?f=8&t=2614 (more users found it earlier).

Sorinel

Original comment by cristesc...@gmail.com on 3 Sep 2008 at 10:37

GoogleCodeExporter commented 9 years ago
This is project is not GWT proper.  I'm marking this issue as invalid for the 
gwt-google-apis project.  You need 
to file this bug in GWT's issue tracker which can be found at: 
http://code.google.com/p/google-web-
toolkit/issues/list.

Original comment by mmendez+personal@google.com on 3 Sep 2008 at 11:14

GoogleCodeExporter commented 9 years ago
Ok ... thank you for pointing me right!

I've opened the defect #2841 here ... http://code.google.com/p/google-web-
toolkit/issues/detail?id=2841&sort=-id

Original comment by cristesc...@gmail.com on 3 Sep 2008 at 12:02