[jboss-jira] [JBoss JIRA] (AS7-4550) CLONE - add-user script ends with NPE when username and password are the same
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed Apr 18 11:50:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry reassigned AS7-4550:
-------------------------------------
Assignee: Darran Lofthouse (was: Brian Stansberry)
> CLONE - add-user script ends with NPE when username and password are the same
> -----------------------------------------------------------------------------
>
> Key: AS7-4550
> URL: https://issues.jboss.org/browse/AS7-4550
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Reporter: Rostislav Svoboda
> Assignee: Darran Lofthouse
> Labels: eap6_need_triage
> Fix For: 7.1.2.Final-redhat1
>
>
> The same username and password were used.
> {code}
> [rsvoboda at rosta-ntb ER5]$ jboss-eap-6.0/bin/add-user.sh
> What type of user do you wish to add?
> a) Management User (mgmt-users.properties)
> b) Application User (application-users.properties)
> (a):
> Enter the details of the new user to add.
> Realm (ManagementRealm) :
> Username : asd
> Password :
> Re-enter Password :
> Exception in thread "main" java.lang.NullPointerException
> at org.jboss.as.domain.management.security.state.ErrorState.execute(ErrorState.java:58)
> at org.jboss.as.domain.management.security.AddPropertiesUser.run(AddPropertiesUser.java:117)
> at org.jboss.as.domain.management.security.AddPropertiesUser.main(AddPropertiesUser.java:159)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.modules.Module.run(Module.java:260)
> at org.jboss.modules.Main.main(Main.java:291)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list