Fwiw, the jira is KARAF-5497
<https://issues.apache.org/jira/browse/KARAF-5497>
Reverting the jline upgrade fixes the problem, so it may be the easiest
thing to do.


2017-11-28 18:06 GMT+01:00 Jean-Baptiste Onofré <j...@nanthrax.net>:

> Hi,
>
> AFAIR, we already have a Jira about that.
>
> Let us take a look.
>
> Regards
> JB
>
>
> On 11/28/2017 05:58 PM, afbagwe wrote:
>
>> Hey guys. I'm seeing a problem I didn't have in Karaf 4.1.2
>>
>> When I try to install the camel-cxf package I get the following error that
>> causes the Karaf client to crash to the command line:
>>
>> 2017-11-28T08:53:13,838 | ERROR | Karaf local console user karaf |
>> ShellUtil
>> | 42 - org.apache.karaf.shell.core - 4.1.3 | Exception caught while
>> executing command
>> java.io.IOError: java.io.IOException: Stream Closed
>>         at org.jline.keymap.BindingReader.readCharacter(BindingReader.
>> java:142)
>> ~[49:org.jline:3.5.0]
>>         at org.jline.keymap.BindingReader.readBinding(BindingReader.
>> java:109)
>> ~[49:org.jline:3.5.0]
>>         at org.jline.keymap.BindingReader.readBinding(BindingReader.
>> java:60)
>> ~[49:org.jline:3.5.0]
>>         at
>> org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:724)
>> ~[49:org.jline:3.5.0]
>>         at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl
>> .java:526)
>> ~[49:org.jline:3.5.0]
>>         at
>> org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(
>> ConsoleSessionImpl.java:349)
>> [42:org.apache.karaf.shell.core:4.1.3]
>>         at java.lang.Thread.run(Thread.java:748) [?:?]
>> Caused by: java.io.IOException: Stream Closed
>>         at java.io.FileInputStream.read0(Native Method) ~[?:?]
>>         at java.io.FileInputStream.read(FileInputStream.java:207) ~[?:?]
>>         at org.jline.terminal.impl.DumbTerminal$1.read(DumbTerminal.java:48)
>> ~[?:?]
>>         at org.jline.terminal.impl.DumbTerminal$1.read(DumbTerminal.java:85)
>> ~[?:?]
>>         at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
>> ~[?:?]
>>         at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
>> ~[?:?]
>>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) ~[?:?]
>>         at sun.nio.cs.StreamDecoder.read0(StreamDecoder.java:127) ~[?:?]
>>         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:112) ~[?:?]
>>         at java.io.InputStreamReader.read(InputStreamReader.java:168)
>> ~[?:?]
>>         at org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:276)
>> ~[?:?]
>>         ... 1 more
>>
>> This is an easily reproducible error.
>>
>> 1. Start with clean Karaf 4.1.3 in the interactive shell
>> 2. add the camel repo (we use 2.18.5)
>> 3. the feature:install camel-cxf
>>
>> I saw that Karaf 4.1.3 upgraded JLine to 3.5. Perhaps this is the problem?
>>
>>
>>
>> --
>> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
------------------------
Guillaume Nodet

Reply via email to