[jboss-jira] [JBoss JIRA] (WFLY-8186) CS tool, can't list --help without NPE occurence

Peter Skopek (JIRA) issues at jboss.org
Thu Mar 2 12:50:01 EST 2017


     [ https://issues.jboss.org/browse/WFLY-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Skopek reassigned WFLY-8186:
----------------------------------

    Assignee: Peter Skopek  (was: Darran Lofthouse)


> CS tool, can't list --help without NPE occurence
> ------------------------------------------------
>
>                 Key: WFLY-8186
>                 URL: https://issues.jboss.org/browse/WFLY-8186
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>            Reporter: Martin Choma
>            Assignee: Peter Skopek
>            Priority: Critical
>              Labels: credential-store
>
> {code}
> java -jar wildfly-elytron-tool.jar credential-store -h 
> {code}
> or because of WFLY-8176
> {code}
> java -jar wildfly-elytron-tool.jar credential-store -h --salt 12345678 --iteration 230
> {code}
> leads to 
> {code}
> usage: java -jar wildfly-elytron-tool.jar credential-store <sub-command>
>        <options> -a <arg> | -e <arg> | -h | -r <arg> | -v [-c]  [-f]  [-i
>        <arg>] [-l <arg>] [-p <arg>]  [-s <arg>] [-t <arg>] [-u <arg>]  [-x
>        <arg>]
> Exception in thread "main" java.lang.NullPointerException
>     at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
>     at java.util.regex.Matcher.reset(Matcher.java:309)
>     at java.util.regex.Matcher.<init>(Matcher.java:229)
>     at java.util.regex.Pattern.matcher(Pattern.java:1093)
>     at java.util.Formatter.parse(Formatter.java:2547)
>     at java.util.Formatter.format(Formatter.java:2501)
>     at java.io.PrintStream.format(PrintStream.java:970)
>     at java.io.PrintStream.printf(PrintStream.java:871)
>     at org.wildfly.security.tool.ElytronTool.main(ElytronTool.java:58)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list