[ 
https://issues.apache.org/jira/browse/RATIS-1607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-1607.
-------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~Sammi]!

> Fix NPE in OrderedAsync#sendRequestWithRetry
> --------------------------------------------
>
>                 Key: RATIS-1607
>                 URL: https://issues.apache.org/jira/browse/RATIS-1607
>             Project: Ratis
>          Issue Type: Bug
>          Components: client
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to