Hi
I'm running the GWT MVP example (http://code.google.com/p/google-web-
toolkit/downloads/detail?name=Tutorial-Contacts.zip) from the
SpringSource Tool Suite with AppEngine 1.4.0 and GWT SDK 2.1.0. When
it calls a method on com.google.gwt.user.client.History
(addValueChangeHandler or getToken in particular), I get the following
exception:
com.google.gwt.dev.shell.HostedModeException: Something other than a
boolean was returned from JSNI method
'@com.google.gwt.user.client.impl.HistoryImplTimer::init()': JS value
of type JavaScript object(6), expected boolean
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:100)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:
186)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:
35)
at
com.google.gwt.user.client.impl.HistoryImplTimer.init(HistoryImplTimer.java)
at com.google.gwt.user.client.History.<clinit>(History.java:63)
at
com.pharmaSysUK.RepeatMe.client.AppController.go(AppController.java:
53)
at
com.pharmaSysUK.RepeatMe.client.RepeatMe.onModuleLoad(RepeatMe.java:
22)
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:
183)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Unknown Source)
Is this an error in HistoryImplTimer::init(), in the sample code or
something else?
Thank you
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.