convert to type com.google.gwt.core.client.JavaScriptObject from number

9 views
Skip to first unread message

jason

unread,
Sep 12, 2008, 11:12:44 AM9/12/08
to Google Web Toolkit
Hi,
My system is GWT (from SVN), Window XP, and GWT-Ext. I am using eclipse
+Cypal. My interface runs good for some time. I did some minor
adjustment today. Then I got this error.

I am using the gwt from svn because of this bug (http://
code.google.com/p/google-web-toolkit/issues/detail?id=2841)

com.google.gwt.core.client.JavaScriptException: (RangeError):
java.lang.IllegalArgumentException: Error converting argument 1:
Calling method 'getComponent': Cannot convert to type
com.google.gwt.core.client.JavaScriptObject from number
at
com.google.gwt.dev.shell.ie.SwtOleGlue.convertVariantsToObjects(SwtOleGlue.java:
61)
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.java:
107)
at com.gwtext.client.widgets.Container.doLayout(Container.java)

Any suggestion?

thanks
Reply all
Reply to author
Forward
0 new messages