You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
com.beust.jcommander.ParameterException: Could not invoke null
Reason: Can not set <....>.Name field ><.....>.Name to java.lang.String
at com.beust.jcommander.Parameterized.set(Parameterized.java:273)
at com.beust.jcommander.JCommander$MainParameter.addValue(JCommander.java:108)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:789)
at com.beust.jcommander.JCommander.parse(JCommander.java:363)
at com.beust.jcommander.JCommander.parse(JCommander.java:342)
A workaround is to specify a dummy converter class for the main parameter that cannot be instantiated (e.g. an abstract class with a private constructor), see #380 (comment)
JCommander can accept
But it does not work for the main parameter
A workaround is to specify a dummy converter class for the main parameter that cannot be instantiated (e.g. an abstract class with a private constructor), see #380 (comment)
Related issue: #380
The text was updated successfully, but these errors were encountered: