Quantcast

Error when running Karaf 4.1.1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error when running Karaf 4.1.1

Oleg Cohen
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error when running Karaf 4.1.1

jbonofre
Hi Oleg,

what actions have been performed on Karaf ?

The trace "org.jline" seems to indicate that a command or something happened on
the shell console.

Regards
JB

On 04/06/2017 04:01 PM, Oleg Cohen wrote:

> 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

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error when running Karaf 4.1.1

Oleg Cohen
Hi JB,

Interestingly, no command was ever typed in.

I started karaf on the command line.

Below is what is in the log. The system was sitting there for about a minute after the start and then crashed. I will try a clean install and then install features one by one to try and isolate if one of them introduced the issue.

Regards,
Oleg




2017-04-06T13:33:12,080 | INFO  | pool-38-thread-1 | CommandExtension                 | 42 - org.apache.karaf.shell.core - 4.1.1 | Registering commands for bundle org.apache.karaf.cellar.shell/4.0.3
2017-04-06T13:34:23,433 | 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) [?:?]


On Apr 6, 2017, at 12:11 PM, Jean-Baptiste Onofré <[hidden email]> wrote:

Hi Oleg,

what actions have been performed on Karaf ?

The trace "org.jline" seems to indicate that a command or something happened on the shell console.

Regards
JB

On 04/06/2017 04:01 PM, Oleg Cohen wrote:
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

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com

Loading...