I'm working on a project in development mode using Eclipse and Chrome. The
log window fills up with exceptions like this:
Caused by: com.google.gwt.dev.shell.HostedModeException: Something other
than a double was returned from JSNI method
'@com.google.gwt.user.client.ui.UIObject::extractLengthValue(Ljava/lang/String;)':
JS value of type boolean, expected double
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:112)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeDouble(ModuleSpace.java:223)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeDouble(JavaScriptHost.java:59)
at
com.google.gwt.user.client.ui.UIObject.extractLengthValue(UIObject.java)
at com.google.gwt.user.client.ui.UIObject.setWidth(UIObject.java:742)
at com.google.gwt.user.client.ui.UIObject.setSize(UIObject.java:652)
...
The basic cause seems to be a call to Window.getClientWidth()in response to
a resize event, but I don't see that there's any way I could prevent it.
If it only happens in development mode I suppose it's nothing more than an
irritation.
Has anyone else seen this?
Chris
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/eeLZKjeaGAgJ.
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.