Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1987

Intermittent NPE in TestGrpcZeroCopy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • test
    • None

    Description

      [ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.318 s <<< FAILURE! - in org.apache.ratis.grpc.util.TestGrpcZeroCopy
      [ERROR] org.apache.ratis.grpc.util.TestGrpcZeroCopy.testZeroCopy  Time elapsed: 11.148 s  <<< ERROR!
      java.util.concurrent.ExecutionException: org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: CANCELLED: Failed to read message.
      	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
      	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
      	at org.apache.ratis.grpc.util.TestGrpcZeroCopy.sendBinaries(TestGrpcZeroCopy.java:161)
      	at org.apache.ratis.grpc.util.TestGrpcZeroCopy.runTestZeroCopy(TestGrpcZeroCopy.java:116)
      	at org.apache.ratis.grpc.util.TestGrpcZeroCopy.testZeroCopy(TestGrpcZeroCopy.java:108)
      ...
      Caused by: java.lang.NullPointerException
      	at org.apache.ratis.grpc.util.GrpcZeroCopyTestClient$2.onNext(GrpcZeroCopyTestClient.java:96)
      	at org.apache.ratis.grpc.util.GrpcZeroCopyTestClient$2.onNext(GrpcZeroCopyTestClient.java:93)
      	at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onMessage(ClientCalls.java:468)
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h