[
https://issues.apache.org/jira/browse/RATIS-497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831945#comment-16831945
]
Tsz Wo Nicholas Sze commented on RATIS-497:
-------------------------------------------
r497_20190502.patch: fixes NPE and the checkstyle warning.
> IllegalStateException: ILLEGAL TRANSITION: In LogAppender(s4 -> s1), CLOSING
> -> RUNNING
> ---------------------------------------------------------------------------------------
>
> Key: RATIS-497
> URL: https://issues.apache.org/jira/browse/RATIS-497
> Project: Ratis
> Issue Type: Bug
> Components: server, test
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: r497_20190311.patch, r497_20190312.patch,
> r497_20190314.patch, r497_20190401.patch, r497_20190424.patch,
> r497_20190427.patch, r497_20190501.patch, r497_20190502.patch
>
>
> This bug happens when a LogAppender is started (startAppender()) and then
> immediately stopped (stopAppender()).
> This bug is not a problem in real application, since an uncaught exception
> with no harm will be thrown, but it will fail unit tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)