Details
-
Bug
-
Resolution: Done
-
Critical
-
7.1.3.Final (EAP)
Description
CLI crashes with OutOfMemoryError if the authentication fails.
jcacek@jcacek-nb:~/Testing/jboss-eap-6.0.1.ER2/bin$ ./jboss-cli.sh You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands. [disconnected /] connect Authenticating against security realm: ManagementRealm Username: admin Password: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) at java.lang.StringBuilder.append(StringBuilder.java:119) at org.jboss.as.cli.impl.CommandContextImpl.handleSafe(CommandContextImpl.java:551) at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1113) at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:243) at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34) 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:270) at org.jboss.modules.Main.main(Main.java:294)