Problems in windows and the google web toolkit

1 view
Skip to first unread message

andy

unread,
May 19, 2006, 12:08:44 AM5/19/06
to Google Web Toolkit
I was just experimenting with the google web toolkit and ran into a
problem. On my windows machine, when I make a new project with the
projectCreator, then the applicationCreator, the initial default java
file won't work. I get this error, the first part is the important
part. The irritating is that my other computer, running ubuntu linux
compiles the default java file perfectly, and it just works. Any help
would be greatly appreciated. Here is the error:

[ERROR] Unable to load module entry point class
com.andrewco.client.MyApp
java.lang.RuntimeException: JavaScript method
'@com.google.gwt.user.client.impl.DOMImplStandard::init()' threw an
exception
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNative(ModuleSpaceIE6.java:365)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.invokeNativeVoid(ModuleSpaceIE6.java:254)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:127)
at
com.google.gwt.user.client.impl.DOMImplStandard.init(DOMImplStandard.java:176)
at com.google.gwt.user.client.DOM.<clinit>(DOM.java:39)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:46)
at com.google.gwt.user.client.ui.Button.<init>(Button.java:56)
at com.andrewco.client.MyApp.onModuleLoad(MyApp.java:19)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:64)
at
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:324)
Caused by: com.google.gwt.core.client.JavaScriptException: JavaScript
TypeError exception: Object doesn't support this property or method
at
com.google.gwt.dev.shell.ModuleSpace.createJavaScriptException(ModuleSpace.java:267)
at
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.exceptionCaught(ModuleSpaceIE6.java:76)
at
com.google.gwt.dev.shell.JavaScriptHost.exceptionCaught(JavaScriptHost.java:31)
at
com.google.gwt.dev.shell.StaticJavaDispatch.callMethod(StaticJavaDispatch.java:45)
at
com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java:117)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:199)
at
com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:108)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
at
org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
at
org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:487)

Henry

unread,
May 19, 2006, 7:46:02 AM5/19/06
to Google Web Toolkit
Which version of the Internet Explorer does your system have? Also,
what's your application look like?

Thanks,

Henry

Colin Manning

unread,
May 19, 2006, 8:56:14 AM5/19/06
to Google Web Toolkit
Looks like quite a few of us are hitting this problem. Just to
reconfirm I get it when trying to run the samples in "hosted" mode, but
stand alone (via the xxx_shell.cmd script), and from inside Eclipse. I
have IE6 installed (but don't ever use it as I use Firefox for web
access), but not sure why that should matter. I did have IE7 installed,
but removed that and rebooted to no effect.

Regards,

Colin

andy

unread,
May 19, 2006, 4:35:04 PM5/19/06
to Google Web Toolkit
in fact, i removed IE7 beta 2 from by computer and rebooted. After
that, everything worked perfectly. Thanks Henry.

Reply all
Reply to author
Forward
0 new messages