[
https://issues.jboss.org/browse/AS7-5687?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky updated AS7-5687:
-----------------------------------
Summary: CLI crashes with OutOfMemoryError when logging exceptions in
CommandContext.handleSafe() (was: CLI crashes with OutOfMemoryError when authentication
fails)
CLI crashes with OutOfMemoryError when logging exceptions in
CommandContext.handleSafe()
----------------------------------------------------------------------------------------
Key: AS7-5687
URL:
https://issues.jboss.org/browse/AS7-5687
Project: Application Server 7
Issue Type: Bug
Components: CLI
Affects Versions: 7.1.3.Final (EAP)
Reporter: Josef Cacek
Assignee: Alexey Loubyansky
Priority: Critical
Labels: eap601-qe-triage
CLI crashes with OutOfMemoryError if the authentication fails.
{code}
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)
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira