SmartGwt not working in GoogleChrome

1,269 views
Skip to first unread message

Serge

unread,
Sep 16, 2011, 3:30:11 PM9/16/11
to Google Web Toolkit
Hi,
when I'm using smartgwt 2.5 in my gwt web application, I get the
following error in Chrome:
Exception while loading module com.smartgwt.client.SmartGwtEntryPoint.
See Development Mode for details.

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
200)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
525)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
363)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException:
(TypeError): Cannot read property 'Browser' of undefined
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
248)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
136)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
561)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:
289)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:
107)
at
com.smartgwt.client.SmartGwtEntryPoint.init(SmartGwtEntryPoint.java)
at
com.smartgwt.client.SmartGwtEntryPoint.onModuleLoad(SmartGwtEntryPoint.java:
239)
... 9 more

it works fine in Internet Explorer 7.

Tom Carchrae

unread,
Sep 16, 2011, 10:32:44 PM9/16/11
to google-we...@googlegroups.com
SmartGWT does not work well with the developer plugin in Chrome.  Try compiling it (red GWT box) and then using Chrome without the ?gwt.codesvr=127.0.0.1:9997 at the end of the URL.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


Alexandre Dupriez

unread,
Sep 17, 2011, 8:56:59 AM9/17/11
to Google Web Toolkit
Strange, I can work with SmartGWT 2.5 & GWT 2.3 on Chrome.
Which is your GWT version?

Tom Carchrae

unread,
Sep 17, 2011, 9:45:30 AM9/17/11
to google-we...@googlegroups.com

(in particular, try it in compiled mode)

Alexandre Dupriez

unread,
Sep 20, 2011, 6:08:59 AM9/20/11
to Google Web Toolkit
Recompiling the application (red icon "compile" in GPE) may solve the
issue if it happens on other browsers.
Reply all
Reply to author
Forward
0 new messages