[
https://issues.apache.org/jira/browse/WAVE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ali Lown resolved WAVE-232.
---------------------------
Resolution: Fixed
Hosted mode was made to work on the mailing list 2 months ago.
Whilst, the documentation needs updating. This bug can be considered fixed.
> Running web client in hosted mode by hosted-gwt causes error
> ------------------------------------------------------------
>
> Key: WAVE-232
> URL: https://issues.apache.org/jira/browse/WAVE-232
> Project: Wave
> Issue Type: Bug
> Priority: Minor
>
> <b>What steps will reproduce the problem?</b>
> 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
> <b>What is the expected output? What do you see instead?</b>
> 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)
> <b>Please use labels and text to provide additional information.</b>
> revision 903.
> Browser: Firefox 3.6
> OS: Ubuntu
> ---
> Issue imported from
> http://code.google.com/p/wave-protocol/issues/detail?id=233
> Label: Type-Defect
> Label: Priority-Medium
> Stars: 1
> State: open
> Status: New
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)