Sammi Chen created RATIS-1607:
---------------------------------
Summary: Fix NPE in OrderedAsync#sendRequestWithRetry
Key: RATIS-1607
URL: https://issues.apache.org/jira/browse/RATIS-1607
Project: Ratis
Issue Type: Task
Reporter: Sammi Chen
Caused by: org.apache.ratis.protocol.exceptions.AlreadyClosedException:
SlidingWindow$Client:client-DB9AEAC0A57B->RAFT is closed.
... 31 more
Caused by: java.lang.NullPointerException
at
org.apache.ratis.client.impl.OrderedAsync.sendRequestWithRetry(OrderedAsync.java:182)
at
org.apache.ratis.util.SlidingWindow$Client.trySendDelayed(SlidingWindow.java:331)
at
org.apache.ratis.util.SlidingWindow$Client.receiveReply(SlidingWindow.java:323)
at
org.apache.ratis.client.impl.OrderedAsync.lambda$sendRequest$9(OrderedAsync.java:244)
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
at
java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:628)
at
java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1996)
at
org.apache.ratis.client.impl.OrderedAsync.sendRequest(OrderedAsync.java:242)
... 23 more
--
This message was sent by Atlassian Jira
(v8.20.10#820010)