Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-979 Ratis streaming
  3. RATIS-1567

NettyServerStreamRpc may throw NPE

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • Netty, Streaming
    • None

    Description

      Caused by: java.lang.NullPointerException: 9187e594-73d1-45a0-8e82-be980971cb95-NettyServerStreamRpc: Server a137b4fa-0101-49ed-9769-719c74b0ad17 not found: peers=[]
              at java.base/java.util.Objects.requireNonNull(Objects.java:347)
              at org.apache.ratis.util.PeerProxyMap.getProxy(PeerProxyMap.java:110)
              at org.apache.ratis.netty.server.NettyServerStreamRpc$Proxies.getDataStreamOutput(NettyServerStreamRpc.java:103)
              at org.apache.ratis.netty.server.NettyServerStreamRpc$Proxies.getDataStreamOutput(NettyServerStreamRpc.java:91)
              at org.apache.ratis.netty.server.DataStreamManagement$StreamInfo.<init>(DataStreamManagement.java:140)
              at org.apache.ratis.netty.server.DataStreamManagement.newStreamInfo(DataStreamManagement.java:275)
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 50m
                  50m