I am running Karaf 4.1.1 on MacOs with Java 8 (1.8.0_112).
Once in a while (seemingly spontaneously) the Karaf process exists and I see
the following error on the console:
karaf@root()> Error executing command:
org.jline.reader.LineReader.getBuffer()Lorg/jline/reader/impl/BufferImpl;
The process stops.
Here is the error in the log
2017-04-06T09:52:53,643 | ERROR | Karaf local console user karaf | ShellUtil
| 42 - org.apache.karaf.shell.core - 4.1.1 | Exception
caught while executing command
java.lang.NoSuchMethodError:
org.jline.reader.LineReader.getBuffer()Lorg/jline/reader/impl/BufferImpl;
at
org.apache.felix.gogo.jline.Highlighter.highlight(Highlighter.java:79) ~[?:?]
at
org.jline.reader.impl.LineReaderImpl.getHighlightedBuffer(LineReaderImpl.java:3413)
~[49:org.jline:3.2.0]
at
org.jline.reader.impl.LineReaderImpl.getDisplayedBufferWithPrompts(LineReaderImpl.java:3381)
~[49:org.jline:3.2.0]
at
org.jline.reader.impl.LineReaderImpl.redisplay(LineReaderImpl.java:3313)
~[49:org.jline:3.2.0]
at
org.jline.reader.impl.LineReaderImpl.cleanup(LineReaderImpl.java:2195)
~[49:org.jline:3.2.0]
at
org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:567)
~[49:org.jline:3.2.0]
at
org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:339)
[42:org.apache.karaf.shell.core:4.1.1]
at java.lang.Thread.run(Thread.java:745) [?:?]
Anybody else ran into this issue? Wondering if it is something with my
installation.
I have the following bundles installed on top of the standard OOB install:
war webconsole eventadmin scr cellar spring aries-blueprint-spring
Thank you,
Oleg