AtingTot / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Running web client in hosted mode by hosted-gwt causes error #233

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.noca
che.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)]HOY
6","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(BrowserChannelSer
ver.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(ModuleSp
acePropertyOracle.java:192)     at 
com.google.gwt.dev.shell.ModuleSpacePropertyOracle.getSelectionProperty(ModuleSp
acePropertyOracle.java:130)     at 
com.google.gwt.dev.cfg.ConditionWhenPropertyIs.doEval(ConditionWhenPropertyIs.ja
va: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(StandardRebindO
racle.java:105)     at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOrac
le.java:58)     at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:1
61)     at 
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:1
24)     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>(SearchP
anelResourceLoader.java:29)     at 
org.waveprotocol.box.webclient.search.SearchPanelWidget.<clinit>(SearchPanelWidg
et.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(NativeConstructorAccessorI
mpl.java:57)    at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.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(BrowserChannelSe
rver.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

Original issue reported on code.google.com by vega113 on 2 Mar 2011 at 6:35

GoogleCodeExporter commented 8 years ago
Running 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-developmen
t-environment-set-up
[2]- Ubuntu 10.04, Chromium 11.0.696.50 (81850) or Firefox 3.6.16

Original comment by marcelos...@gmail.com on 28 Apr 2011 at 9:03