You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Dominik Przybysz (JIRA)" <ji...@apache.org> on 2017/03/25 09:16:41 UTC

[jira] [Created] (KARAF-5064) Karaf freezes and shutdowns when typed ']'

Dominik Przybysz created KARAF-5064:
---------------------------------------

             Summary: Karaf freezes and shutdowns when typed ']'
                 Key: KARAF-5064
                 URL: https://issues.apache.org/jira/browse/KARAF-5064
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.1.0
            Reporter: Dominik Przybysz


I start karaf and type ']':

{code}
bash$ ./bin/karaf 
        __ __                  ____      
       / //_/____ __________ _/ __/      
      / ,<  / __ `/ ___/ __ `/ /_        
     / /| |/ /_/ / /  / /_/ / __/        
    /_/ |_|\__,_/_/   \__,_/_/         

  Apache Karaf (4.1.0)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> Error executing command: Java heap space                                                                                                                                                                                bash$
{code}

Karaf freezes and shutdowns.

Exception from karaf.log:

{code}
2017-03-25T10:12:06,085 | ERROR | Karaf local console user karaf | ShellUtil                        | 43 - org.apache.karaf.shell.core - 4.1.0 | Exception caught while executing command
java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOf(Arrays.java:3181) ~[?:?]
        at java.util.ArrayList.grow(ArrayList.java:261) ~[?:?]
        at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235) ~[?:?]
        at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227) ~[?:?]
        at java.util.ArrayList.add(ArrayList.java:458) ~[?:?]
        at org.apache.felix.gogo.runtime.Parser.statement(Parser.java:381) ~[?:?]
        at org.apache.felix.gogo.runtime.Parser.program(Parser.java:229) ~[?:?]
        at org.apache.felix.gogo.jline.Highlighter.highlight(Highlighter.java:58) ~[?:?]
        at org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:3263) ~[50:org.jline:3.1.3]
        at org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3203) ~[50:org.jline:3.1.3]
        at org.jline.reader.impl.LineReaderImpl.cleanup(LineReaderImpl.java:2180) ~[50:org.jline:3.1.3]
        at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:570) ~[50:org.jline:3.1.3]
        at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:332) [43:org.apache.karaf.shell.core:4.1.0]
        at java.lang.Thread.run(Thread.java:745) [?:?]
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)