Christian Schneider created FELIX-5535:
------------------------------------------

             Summary: ArrayIndexOutOfBoundsException when typing < or > in shell
                 Key: FELIX-5535
                 URL: https://issues.apache.org/jira/browse/FELIX-5535
             Project: Felix
          Issue Type: Bug
          Components: Gogo Runtime
    Affects Versions: gogo.runtime-1.0.2
            Reporter: Christian Schneider
             Fix For: gogo.runtime-1.0.4


2017-02-10T14:40:44,145 | ERROR | Karaf local console user karaf | ShellUtil    
                    | 43 - org.apache.karaf.shell.core - 4.1.1.SNAPSHOT | 
Exception caught while executing command
java.lang.ArrayIndexOutOfBoundsException: 1
        at org.apache.felix.gogo.runtime.Token.charAt(Token.java:81) 
[43:org.apache.karaf.shell.core:4.1.1.SNAPSHOT]
        at java.util.regex.Pattern$Slice.match(Pattern.java:3969) [?:?]
        at java.util.regex.Pattern$Ques.match(Pattern.java:4182) [?:?]
        at java.util.regex.Pattern$Branch.match(Pattern.java:4604) [?:?]
        at java.util.regex.Matcher.match(Matcher.java:1270) [?:?]
        at java.util.regex.Matcher.matches(Matcher.java:604) [?:?]
        at org.apache.felix.gogo.runtime.Tokenizer.next(Tokenizer.java:111) 
[43:org.apache.karaf.shell.core:4.1.1.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Parser.next(Parser.java:284) 
[43:org.apache.karaf.shell.core:4.1.1.SNAPSHOT]
        at org.apache.felix.gogo.runtime.Parser.program(Parser.java:202) 
[43:org.apache.karaf.shell.core:4.1.1.SNAPSHOT]
        at 
org.apache.felix.gogo.jline.Highlighter.highlight(Highlighter.java:58) 
[43:org.apache.karaf.shell.core:4.1.1.SNAPSHOT]
        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.1.SNAPSHOT]
        at java.lang.Thread.run(Thread.java:745) [?:?]




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

Reply via email to