Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
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