karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-4984) Karaf exits when typing < or > in the shell
Date Mon, 13 Mar 2017 10:37:04 GMT

     [ https://issues.apache.org/jira/browse/KARAF-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved KARAF-4984.
------------------------------------
    Resolution: Fixed
      Assignee: Guillaume Nodet  (was: Christian Schneider)

> Karaf exits when typing < or > in the shell
> -------------------------------------------
>
>                 Key: KARAF-4984
>                 URL: https://issues.apache.org/jira/browse/KARAF-4984
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.1.0
>            Reporter: Christian Schneider
>            Assignee: Guillaume Nodet
>             Fix For: 4.1.1
>
>
> Start karaf and type either < or >. Karaf will exit with the exception below in
the log. This looks like an issue in felix gogo but as it occurs in karaf I add the issue
here too.
> 2017-02-10T14:27:22,195 | 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)

Mime
View raw message