Uploaded image for project: 'Wave'
  1. Wave
  2. WAVE-341

Should fix bugs during wavelet commit and update.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Server
    • None

    Description

      Some RuntimeExceptions escape from subscribers in the WaveletNotificationDispatcher which out the subscriber in undefined state. The main issue is with ClientFrontendImpl, but the exceptions are caused deeper in the server.

      INFO: Submit to [WaveletName waveinabox.net/w+30Bat7I71UA/waveinabox.net/conv+root] by *******@waveinabox.net @ 6036 w
      ith 1 ops
      Mar 27, 2012 9:20:57 PM org.waveprotocol.box.server.waveserver.WaveletNotificationDispatcher waveletUpdate
      SEVERE: Runtime exception in update to wave bus subscriber org.waveprotocol.box.server.frontend.ClientFrontendImpl@278a8
      423
      java.lang.IllegalStateException: Subscription expected delta for [WaveletName waveinabox.net/w+30Bat7I71UA/waveinabox.ne
      t/conv+root] targeting 6016, was 6036
      at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
      at org.waveprotocol.box.server.frontend.WaveViewSubscription.checkUpdateVersion(WaveViewSubscription.java:202)
      at org.waveprotocol.box.server.frontend.WaveViewSubscription.onUpdate(WaveViewSubscription.java:142)
      at org.waveprotocol.box.server.frontend.UserManager.onUpdate(UserManager.java:76)
      at org.waveprotocol.box.server.frontend.ClientFrontendImpl.participantUpdate(ClientFrontendImpl.java:260)
      at org.waveprotocol.box.server.frontend.ClientFrontendImpl.waveletUpdate(ClientFrontendImpl.java:305)
      at org.waveprotocol.box.server.waveserver.WaveletNotificationDispatcher.waveletUpdate(WaveletNotificationDispatc
      her.java:125)
      at org.waveprotocol.box.server.waveserver.WaveletContainerImpl.notifyOfDeltas(WaveletContainerImpl.java:181)
      at org.waveprotocol.box.server.waveserver.LocalWaveletContainerImpl.submitRequest(LocalWaveletContainerImpl.java
      :104)
      at org.waveprotocol.box.server.waveserver.WaveServerImpl.submitDelta(WaveServerImpl.java:536)
      at org.waveprotocol.box.server.waveserver.WaveServerImpl.submitRequest(WaveServerImpl.java:338)
      at org.waveprotocol.box.server.frontend.ClientFrontendImpl.submitRequest(ClientFrontendImpl.java:219)
      at org.waveprotocol.box.server.frontend.WaveClientRpcImpl.submit(WaveClientRpcImpl.java:164)
      at org.waveprotocol.box.common.comms.WaveClientRpc$ProtocolWaveClientRpc$1.submit(WaveClientRpc.java:4459)
      at org.waveprotocol.box.common.comms.WaveClientRpc$ProtocolWaveClientRpc.callMethod(WaveClientRpc.java:4589)
      at org.waveprotocol.box.server.rpc.ServerRpcControllerImpl.run(ServerRpcControllerImpl.java:200)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:679)
      Mar 27, 2012 9:20:57 PM org.waveprotocol.box.server.waveserver.WaveServerImpl submitDelta

      Attachments

        Activity

          People

            Unassigned Unassigned
            yurize Yuri Zelikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: