[jboss-jira] [JBoss JIRA] (AS7-5687) CLI crashes with OutOfMemoryError when logging exceptions in CommandContext.handleSafe()

Darran Lofthouse (JIRA) jira-events at lists.jboss.org
Fri Oct 5 09:24:05 EDT 2012


    [ https://issues.jboss.org/browse/AS7-5687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724386#comment-12724386 ] 

Darran Lofthouse commented on AS7-5687:
---------------------------------------

Yes that is the correct response assuming no user admin with password admin has been added to the properties files.
                
> 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 at 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


More information about the jboss-jira mailing list