Hi,

I left my project over Christmas and when I came back I was getting a
strange error when running in hosted mode:

10:49:14.506 [ERROR] [smartwps] Unable to load module entry point class
uk.ac.glam.smartwps.client.SmartWPS (see associated exception for details)
com.google.gwt.dev.shell.HostedModeException: Something other than a boolean
was returned from JSNI method
'@com.smartgwt.client.widgets.BaseWidget::isCreated()': JS value of type
JavaScript object(3), 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.smartgwt.client.widgets.BaseWidget.isCreated(BaseWidget.java)
    at
com.smartgwt.client.widgets.BaseWidget.setAttribute(BaseWidget.java:545)
    at com.smartgwt.client.widgets.BaseWidget.<init>(BaseWidget.java:104)
    at com.smartgwt.client.widgets.Canvas.<init>(Canvas.java:73)
    at com.smartgwt.client.widgets.layout.Layout.<init>(Layout.java:82)
    at com.smartgwt.client.widgets.layout.VLayout.<init>(VLayout.java:75)
    at uk.ac.glam.smartwps.client.SmartWPS.onModuleLoad(SmartWPS.java:82)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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(Thread.java:619)

When trying to fix this problem I messed around with the SDK version my
project is using.  I changed it from 2.0.3 to 2.1.0.  This didn't help and
instead introduced me to another new error:

Connection received from localhost:4351
   [ERROR] Invalid version number "2.1" passed to external.gwtOnLoad(),
expected "2.0"; your hosted mode bootstrap file may be out of date; if you
are using -noserver try recompiling and redeploying your app

When I try and run my project using SDK version 2.0.3 (what it was set to
originally) I get this new error, however when I run it using SDK version
2.1.0 then I get the original invalid return type error.  Now I'm confused
and don't know how to solve either issue!

Any help would be greatly appreciated!

Jon

-- 
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.

Reply via email to