
wave-protocol - issue #233
Running web client in hosted mode by hosted-gwt causes error
What steps will reproduce the problem? 1. Run Wiab Server 2. Run ant hosted-gwt 3. Login to WIAB 4. Attach to code server by going to URL http://example.com:9898/?gwt.codesvr=127.0.0.1:9997
What is the expected output? What do you see instead? Expected: The client successfully attaches to code server. Actual: Error.
00:00:28.696 [ERROR] Error while executing the JavaScript provider for property 'user.agent' com.google.gwt.core.client.JavaScriptException: (TypeError): providers[propName] is not a function fileName: http://vegalabz.com:9898/webclient/webclient.nocache.js lineNumber: 156 stack: computePropValue("user.agent")@http://vegalabz.com:9898/webclient/webclient.nocache.js:156 ("user.agent")@http://vegalabz.com:9898/webclient/webclient.nocache.js:34 connect("http://vegalabz.com:9898/?gwt.codesvr=127.0.0.1:9997","GY=!\"jBT5p)]HOY6","127.0.0.1:9997","webclient","2.1")@:0 ((void 0),"webclient","http://vegalabz.com:9898/webclient/",0)@http://vegalabz.com:9898/webclient/hosted.html?webclient:281 maybeStartModule()@http://vegalabz.com:9898/webclient/webclient.nocache.js:39 (141)@http://vegalabz.com:9898/webclient/webclient.nocache.js:188 at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237) at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561) at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.computePropertyValue(ModuleSpacePropertyOracle.java:192) at com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getSelectionProperty(ModuleSpacePropertyOracle.java:130) at com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenPropertyIs.java:60) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:52) at com.google.gwt.dev.cfg.ConditionAny.doEval(ConditionAny.java:36) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:52) at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java:37) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:52) at com.google.gwt.dev.cfg.ConditionAll.doEval(ConditionAll.java:37) at com.google.gwt.dev.cfg.Condition.isTrue(Condition.java:52) at com.google.gwt.dev.cfg.Rule.isApplicable(Rule.java:36) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind(StandardRebindOracle.java:105) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:58) at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:161) at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:124) at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455) at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49) at com.google.gwt.core.client.GWT.create(GWT.java:97) at org.waveprotocol.box.webclient.search.SearchPanelResourceLoader.<clinit>(SearchPanelResourceLoader.java:29) at org.waveprotocol.box.webclient.search.SearchPanelWidget.<clinit>(SearchPanelWidget.java:90) at org.waveprotocol.box.webclient.client.WebClient.<init>(WebClient.java:90) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:465) at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:375) 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:636)
Please use labels and text to provide additional information. revision 903. Browser: Firefox 3.6 OS: Ubuntu
Comment #1
Posted on Apr 28, 2011 by Happy GiraffeRunning all the instructions for the full client debugging[1] I was not able to reproduce with my setup[2].
revision 959.
[1]- https://sites.google.com/a/waveprotocol.org/wave-protocol/code/client-development-environment-set-up [2]- Ubuntu 10.04, Chromium 11.0.696.50 (81850) or Firefox 3.6.16
Status: New
Labels:
Type-Defect
Priority-Medium