Hi, I'm trying to "integrate" the Lightweight Metrics System into my
application. Which basically means I added the snippet of code shown
in here:
http://code.google.com/webtoolkit/doc/latest/DevGuideLightweightMetrics.html
into my host page. The problem is that when I load my application in
dev mode I get the following exception:
16:22:07.703 [ERROR] [mymodule] Unable to load module entry point
class com.myapp.gwt.appbuilder.client.MyModule (see associated
exception for details)
com.google.gwt.dev.shell.HostedModeException: Something other than a
boolean was returned from JSNI method
'@com.google.gwt.user.client.rpc.impl.RemoteServiceProxy::stats(Lcom/
google/gwt/core/client/JavaScriptObject;)': JS value of type
undefined, expected boolean
at com.google.gwt.dev.shell.JsValueGlue.get(JsValueGlue.java:100)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeBoolean(ModuleSpace.java:
181)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeBoolean(JavaScriptHost.java:
35)
at
com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.stats(RemoteServiceProxy.java)
at
com.myapp.gwt.appbuilder.client.services.ApplicationRPCService_Proxy.invoke(ApplicationRPCService_Proxy.java:
25)
at
com.myapp.gwt.appbuilder.client.command.BaseInvokerRPCAsync.invoke(BaseInvokerRPCAsync.java:
47)
at
com.myapp.gwt.appbuilder.client.command.SafeInvokerAsync.invoke(SafeInvokerAsync.java:
58)
at
com.myapp.gwt.appbuilder.client.models.AppMainModel.getAvailableApplications(AppMainModel.java:
10)
at
com.myapp.gwt.appbuilder.client.controllers.AppMainControl.createNavigationView(AppMainControl.java:
84)
at
com.myapp.gwt.appbuilder.client.controllers.AppMainControl.<init>(AppMainControl.java:
41)
at
com.myapp.gwt.appbuilder.client.MyModule.onModuleLoadDeferred(MyModule.java:
63)
at
com.myapp.gwt.appbuilder.client.MyModule.onModuleLoad(MyModule.java:
45)
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:
369)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
185)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
380)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Thread.java:619)
When I load the application the bootstrap, loadExternalRefs,
moduleStartup events are called and complete, but as soon as it gets
to the RPC it crashes.
This does not happen in regular web mode.
Does anybody have any idea what the issue could be?
Thanks
--
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.