Something other than a double was returned

78 views
Skip to first unread message

walker1c

unread,
Sep 13, 2012, 5:07:00 AM9/13/12
to google-we...@googlegroups.com
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

Thomas Broyer

unread,
Sep 13, 2012, 6:04:32 AM9/13/12
to google-we...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages