[
https://issues.apache.org/jira/browse/ARTEMIS-991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram reassigned ARTEMIS-991:
--------------------------------------
Assignee: Justin Bertram
> 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)