[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 moved JBPAPP-8768 to AS7-4550:
-----------------------------------------------

              Project: Application Server 7  (was: JBoss Enterprise Application Platform)
                  Key: AS7-4550  (was: JBPAPP-8768)
             Workflow: GIT Pull Request workflow   (was: jira)
    Affects Version/s:     (was: EAP 6.0.0 ER 5)
          Component/s: Domain Management
                           (was: Scripts and Commands)
             Security:     (was: Public)
        Fix Version/s: 7.1.2.Final-redhat1
                           (was: TBD EAP 6)
       Docs QE Status:   (was: NEW)

    
> 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: Brian Stansberry
>              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