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

DeltaStoreBasedWaveletState test failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Server
    • None

    Description

      I was compiling clean clone (modulo removing test/org/waveprotocol/box/server/robots/dataapi/DataApiServletTest.java and test/org/waveprotocol/box/server/robots/active/ActiveApiServletTest.java to workaround issue WAVE-298), and hit errors when doing 'ant':

      DeltaStoreBasedWaveletStateTest testDeltaHistoryRequiresCorrectHash Error N/A

      java.lang.IllegalArgumentException
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.readDeltasInRange(DeltaStoreBasedWaveletState.java:144)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.getTransformedDeltaHistory(DeltaStoreBasedWaveletState.java:350)
      at org.waveprotocol.box.server.waveserver.WaveletStateTestBase.testDeltaHistoryRequiresCorrectHash(WaveletStateTestBase.java:181)

      0.001

      DeltaStoreBasedWaveletStateTest testSingleDeltaHistoryAccessible Error N/A

      java.lang.IllegalArgumentException
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.readDeltasInRange(DeltaStoreBasedWaveletState.java:144)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.getTransformedDeltaHistory(DeltaStoreBasedWaveletState.java:350)
      at org.waveprotocol.box.server.waveserver.WaveletStateTestBase.testSingleDeltaHistoryAccessible(WaveletStateTestBase.java:195)

      0.001

      DeltaStoreBasedWaveletStateTest testDeltaHistoryQueriesCorrectHistory Error N/A

      java.lang.IllegalArgumentException
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:72)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.readDeltasInRange(DeltaStoreBasedWaveletState.java:144)
      at org.waveprotocol.box.server.waveserver.DeltaStoreBasedWaveletState.getTransformedDeltaHistory(DeltaStoreBasedWaveletState.java:350)
      at org.waveprotocol.box.server.waveserver.WaveletStateTestBase.checkHistoryForDeltas(WaveletStateTestBase.java:230)
      at org.waveprotocol.box.server.waveserver.WaveletStateTestBase.testDeltaHistoryQueriesCorrectHistory(WaveletStateTestBase.java:211)

      0.001

      I also got RPC test errors

      RpcTest testIsStreamingRpc Error N/A

      java.lang.NullPointerException
      at org.waveprotocol.box.server.rpc.ServerRpcProvider.startWebSocketServer(ServerRpcProvider.java:352)
      at org.waveprotocol.box.server.rpc.RpcTest.setUp(RpcTest.java:78)

      0.383

      RpcTest testSimpleRpc Error N/A

      java.lang.NullPointerException
      at org.waveprotocol.box.server.rpc.ServerRpcProvider.startWebSocketServer(ServerRpcProvider.java:352)
      at org.waveprotocol.box.server.rpc.RpcTest.setUp(RpcTest.java:78)

      0.001

      RpcTest testFailedRpc Error N/A

      java.lang.NullPointerException
      at org.waveprotocol.box.server.rpc.ServerRpcProvider.startWebSocketServer(ServerRpcProvider.java:352)
      at org.waveprotocol.box.server.rpc.RpcTest.setUp(RpcTest.java:78)

      0.001

      RpcTest testCancelStreamingRpc Error N/A

      java.lang.NullPointerException
      at org.waveprotocol.box.server.rpc.ServerRpcProvider.startWebSocketServer(ServerRpcProvider.java:352)
      at org.waveprotocol.box.server.rpc.RpcTest.setUp(RpcTest.java:78)
      0.001

      Attachments

        Activity

          People

            yurize Yuri Zelikov
            baryluk Witold Baryluk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: