[ https://issues.apache.org/jira/browse/RATIS-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604878#comment-16604878 ]
Tsz Wo Nicholas Sze commented on RATIS-303: ------------------------------------------- Thanks [~shashikant]. - Could you describe how the patch fix NullPointerException? It is not easy to see from the patch. - For the new TestRetryOnStateMachineException, could you move it from ratis-example to ratis-server and add subclasses for the RPCs. See RaftExceptionBaseTest and its subclasses. It was a mistake to put the non-example test in ratis-example. It would be great if you could also move TestRaftStateMachineException. > TestRaftStateMachineException is failing with NullPointerException > ------------------------------------------------------------------ > > Key: RATIS-303 > URL: https://issues.apache.org/jira/browse/RATIS-303 > Project: Ratis > Issue Type: Bug > Components: server > Affects Versions: 0.3.0 > Reporter: Mukul Kumar Singh > Assignee: Shashikant Banerjee > Priority: Major > Labels: ozone > Fix For: 0.3.0 > > Attachments: RATIS-303.01.patch > > > TestRaftStateMachineException is failing with the following exception > {code} > [ERROR] > testRetryOnExceptionDuringReplication[2](org.apache.ratis.statemachine.TestRaftStateMachineException) > Time elapsed: 0.001 s <<< ERROR! > java.lang.NullPointerException > at > org.apache.ratis.statemachine.TestRaftStateMachineException.testRetryOnExceptionDuringReplication(TestRaftStateMachineException.java:139) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)