activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-991) Null dereference after hitting Ctrl+d when prompted for password in `artemis create`
Date Thu, 23 Feb 2017 19:58:44 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15881121#comment-15881121
] 

ASF GitHub Bot commented on ARTEMIS-991:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/activemq-artemis/pull/1041


> Null dereference after hitting Ctrl+d when prompted for password in `artemis create`
> ------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-991
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-991
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.0.0
>            Reporter: Jiri Danek
>            Assignee: Justin Bertram
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> when running {{bin/artemis create}}
> respond to {{Please provide the default password:}} with Ctrl+d, which results in a NullPointerException.
> {noformat}
> Creating ActiveMQ Artemis instance at: /home/jdanek/Downloads/A-MQ7/deleteme
> --user: is a mandatory property!
> Please provide the default username:
> admin
> --password: is mandatory with this configuration:
> Please provide the default password:
> java.lang.NullPointerException
>         at java.lang.String.<init>(String.java:166)
>         at org.apache.activemq.artemis.cli.commands.InputAbstract.inputPassword(InputAbstract.java:109)
>         at org.apache.activemq.artemis.cli.commands.Create.getPassword(Create.java:474)
>         at org.apache.activemq.artemis.cli.commands.Create.run(Create.java:640)
>         at org.apache.activemq.artemis.cli.commands.Create.execute(Create.java:545)
>         at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:148)
>         at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:95)
>         at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:122)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
>         at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message