Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4382

Enter the same password in add-user cause an NP

    XMLWordPrintable

Details

    • Hide

      call the add-user.sh / add-user.bat
      1) a
      2) press enter
      3) type username
      4) type again the username as password
      5) re-enter the password from step 4

      Show
      call the add-user.sh / add-user.bat 1) a 2) press enter 3) type username 4) type again the username as password 5) re-enter the password from step 4
    • Low

    Description

      if you type in the same password for a user when using the add-user CLI it throws a NP exception

      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)

      This is due to the console object was not passed correctly down to the ErrorState from the WeakCheckState

      Attachments

        Activity

          People

            fharms_jira Flemming Harms (Inactive)
            fharms_jira Flemming Harms (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: