You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Song Ziyang (Jira)" <ji...@apache.org> on 2022/11/14 11:17:00 UTC

[jira] [Created] (RATIS-1744) NullPointerException causes RaftClient retry failure

Song Ziyang created RATIS-1744:
----------------------------------

             Summary: NullPointerException causes RaftClient retry failure
                 Key: RATIS-1744
                 URL: https://issues.apache.org/jira/browse/RATIS-1744
             Project: Ratis
          Issue Type: Bug
    Affects Versions: 2.4.0
            Reporter: Song Ziyang
         Attachments: error_stack.log

We encountered a RaftRetryFailureException carrying a very long error stack. The root cause showed that RaftClientRequest.message was null. We first suspected that we passed a null message to RaftClientRequest. However, we then discovered that this NullPointerException happened during the 2rd retry attempt, not the 1st attempt. So the problem probably lies in Ratis. Full error stack is attached.  [~szetszwo] Could you please take a look at this? Thanks in advance!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)