You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/12/04 17:23:00 UTC

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

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

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

The pull request is now merged.

> 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
>            Assignee: Tsz-wo Sze
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: error_stack.log
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)