[
https://issues.jboss.org/browse/AS7-4382?page=com.atlassian.jira.plugin.s...
]
Flemming Harms reassigned AS7-4382:
-----------------------------------
Assignee: Flemming Harms (was: Brian Stansberry)
Enter the same password in add-user cause an NP
-----------------------------------------------
Key: AS7-4382
URL:
https://issues.jboss.org/browse/AS7-4382
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Environment: all environments
Reporter: Flemming Harms
Assignee: Flemming Harms
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
--
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