[
https://issues.apache.org/jira/browse/RATIS-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved RATIS-524.
------------------------------
Resolution: Fixed
> JCommander args should have `required=true` when appropriate
> ------------------------------------------------------------
>
> Key: RATIS-524
> URL: https://issues.apache.org/jira/browse/RATIS-524
> Project: Ratis
> Issue Type: Bug
> Components: LogService
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Major
> Fix For: 0.4.0
>
>
> VerificationTool and the LogServiceShell both use JCommander to implement a
> required argument provided by the user (the metadata quorum string), but
> don't mark the option as required. This lets the user omit providing it which
> results in a NPE.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)