latos / wave-protocol

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

New waves are not displayed after browser page refresh #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Login into web client
2. Create new wave by clicking on "New Wave" button
3. Click on the browser refresh button
4. Click again on the "New Wave" button

What is the expected output? What do you see instead?
Expected: New wave is created and new snippet with "(empty)" text is added to 
the wave list (digest) panel. When inspecting the debug panel - you can see the 
"IndexWave update received hasDeltas=true  hasWaveletSnapshot=false" log 
message.
Actual: No new snippet for the new wave is added. No corresponding log in the 
debug panel regarding index update.

What changeset or version are you using?
rev 819

Original issue reported on code.google.com by vega113 on 8 Jan 2011 at 12:47

GoogleCodeExporter commented 8 years ago
The issue happens only when running Wiab with use_socketio = true

Original comment by vega113 on 8 Jan 2011 at 3:30

GoogleCodeExporter commented 8 years ago
The server logs an exception. I think this uncaught exception is causing the 
server to stop updating clients before the new session gets the update.

     [java] INFO: Submit to [WaveletName local/w+tcg8K4GYSMA/local/conv+root] by anorth@local @ 0 with 4 ops
     [java] Jan 12, 2011 11:05:52 AM org.waveprotocol.box.server.waveserver.WaveletNotificationDispatcher waveletUpdate
     [java] SEVERE: Runtime exception in update to wave bus subscriber org.waveprotocol.box.server.frontend.ClientFrontendImpl@47b35d
     [java] java.lang.IllegalStateException: Connection has been disconnected.
     [java]     at org.waveprotocol.box.server.rpc.SocketIOServerChannel.sendMessageString(SocketIOServerChannel.java:100)
     [java]     at org.waveprotocol.box.server.rpc.WebSocketChannel.sendMessage(WebSocketChannel.java:125)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcProvider$SocketIOConnection.sendMessage(ServerRpcProvider.java:135)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcProvider$Connection$1.run(ServerRpcProvider.java:234)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcProvider$Connection$1.run(ServerRpcProvider.java:220)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcControllerImpl$1.run(ServerRpcControllerImpl.java:191)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcControllerImpl$1.run(ServerRpcControllerImpl.java:166)
     [java]     at org.waveprotocol.box.server.frontend.WaveClientRpcImpl$1.onUpdate(WaveClientRpcImpl.java:134)
     [java]     at org.waveprotocol.box.server.frontend.WaveViewSubscription.sendUpdate(WaveViewSubscription.java:191)
     [java]     at org.waveprotocol.box.server.frontend.WaveViewSubscription.onUpdate(WaveViewSubscription.java:149)
     [java]     at org.waveprotocol.box.server.frontend.UserManager.onUpdate(UserManager.java:76)
     [java]     at org.waveprotocol.box.server.frontend.ClientFrontendImpl.participantUpdate(ClientFrontendImpl.java:350)
     [java]     at org.waveprotocol.box.server.frontend.ClientFrontendImpl.waveletUpdate(ClientFrontendImpl.java:415)
     [java]     at org.waveprotocol.box.server.waveserver.WaveletNotificationDispatcher.waveletUpdate(WaveletNotificationDispatcher.java:125)
     [java]     at org.waveprotocol.box.server.waveserver.WaveletContainerImpl.notifyOfDeltas(WaveletContainerImpl.java:174)
     [java]     at org.waveprotocol.box.server.waveserver.LocalWaveletContainerImpl.submitRequest(LocalWaveletContainerImpl.java:104)
     [java]     at org.waveprotocol.box.server.waveserver.WaveServerImpl.submitDelta(WaveServerImpl.java:519)
     [java]     at org.waveprotocol.box.server.waveserver.WaveServerImpl.submitRequest(WaveServerImpl.java:318)
     [java]     at org.waveprotocol.box.server.frontend.ClientFrontendImpl.submitRequest(ClientFrontendImpl.java:279)
     [java]     at org.waveprotocol.box.server.frontend.WaveClientRpcImpl.submit(WaveClientRpcImpl.java:157)
     [java]     at org.waveprotocol.box.common.comms.WaveClientRpc$ProtocolWaveClientRpc$1.submit(WaveClientRpc.java:4459)
     [java]     at org.waveprotocol.box.common.comms.WaveClientRpc$ProtocolWaveClientRpc.callMethod(WaveClientRpc.java:4589)
     [java]     at org.waveprotocol.box.server.rpc.ServerRpcControllerImpl.run(ServerRpcControllerImpl.java:200)
     [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
     [java]     at java.lang.Thread.run(Thread.java:636)

Original comment by ano...@google.com on 12 Jan 2011 at 12:07

GoogleCodeExporter commented 8 years ago

Original comment by ano...@google.com on 12 Jan 2011 at 11:46