[jboss-jira] [JBoss JIRA] (AS7-4550) add-user script ends with NPE when username and password are the same

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Wed Apr 18 12:03:18 EDT 2012


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

Darran Lofthouse resolved AS7-4550.
-----------------------------------

    Resolution: Cannot Reproduce Bug


Same here can't reproduce, the line reporting the failure is: -

    @Override

So this class has been modified since.
                
> 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, Security
>            Reporter: Rostislav Svoboda
>            Assignee: Darran Lofthouse
>            Priority: Critical
>              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