Roni Juntunen created RATIS-1365:
------------------------------------
Summary: NPE in Combined Client Protocol Server Side Translator PB
Key: RATIS-1365
URL: https://issues.apache.org/jira/browse/RATIS-1365
Project: Ratis
Issue Type: Bug
Reporter: Roni Juntunen
SonarQube has detected one possible NPE issue in
CombinedClientProtocolServerSideTranslatorPB class. After further
investigation, it could be deduced that this NPE error can't occur in the
current code, because currently switch-case that is causing the problem handles
all possible cases. However it is possible that future modifications changes
the situation. Because of that it could be a good idea to throw error in the
default branch.
See SonarCloud issues for more detailed information:
[https://sonarcloud.io/project/issues?id=apache-ratis&open=AXMispqvSBrYCGcXe6dV&resolved=false&rules=java%3AS2259&types=BUG]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)