You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/09/10 02:22:00 UTC

[jira] [Resolved] (RATIS-1059) Avoid NPE when exportInfo is NULL in LogStateMachine.processArchiveLog

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

Rui Wang resolved RATIS-1059.
-----------------------------
    Resolution: Fixed

> Avoid NPE when exportInfo is NULL in LogStateMachine.processArchiveLog
> ----------------------------------------------------------------------
>
>                 Key: RATIS-1059
>                 URL: https://issues.apache.org/jira/browse/RATIS-1059
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> exportInfo might be null: https://github.com/apache/incubator-ratis/blob/61f038b6bea2934e910e8504df0d8c79d6d34799/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/LogStateMachine.java#L624
> if so, NPE will be thrown at https://github.com/apache/incubator-ratis/blob/61f038b6bea2934e910e8504df0d8c79d6d34799/ratis-logservice/src/main/java/org/apache/ratis/logservice/server/LogStateMachine.java#L631



--
This message was sent by Atlassian Jira
(v8.3.4#803005)