Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] unexpected throw ParameterException("Password parameter must have at most 1 argument.") #568

Open
shaburov opened this issue Oct 11, 2023 · 6 comments

Comments

@shaburov
Copy link

jCommander.parse(args) throw ParameterException("Password parameter must have at most 1 argument.") when processing multiple fields marked as password

image

image

@shaburov shaburov changed the title [Bug] Password parameter must have at most 1 argument. [Bug] unexpected throw ParameterException("Password parameter must have at most 1 argument.") Oct 11, 2023
@mkarg
Copy link
Collaborator

mkarg commented Nov 12, 2023

Thank you for reporting this bug. This is an open source project, so I like to invite you to file a pull request to fix it! :-)

@shaburov
Copy link
Author

@mkarg I just can't imagine how to fix it. There is clearly an error in defining the number of variables and possible values.
Here is another clear example of an error in determining the number of input values.

Please fix it. Very painful.

image

@shaburov
Copy link
Author

A little more information
image

@mkarg
Copy link
Collaborator

mkarg commented Dec 19, 2023

Thank you for this additional information. Do you feel confident writing a unit test for each bug?

@mkarg
Copy link
Collaborator

mkarg commented Feb 18, 2024

@shaburov "ping";-)

@mkarg
Copy link
Collaborator

mkarg commented Apr 27, 2024

@shaburov I am bit confused. Apparently this bug seemed to be important enough for you to set up a very decent report, but now you are not responding. Could you please pick up this conversation again? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants