Specifying minimum priority from command line gives NPE
A source code analyzer
Brought to you by:
adangel,
juansotuyo
It looks like JCommander looks for declared constructors on converters, and so there is no constructor found for PMDParameters.RulePriorityConverter. Adding a default constructor fixes this.
You could argue this is a bug in JCommander, though - feel free to close here and open a bug there if you prefer :)
Discussion: NullPointerException when using -property on the command line?
Will be fixed with the next release.