You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2018/02/06 19:26:00 UTC

[jira] [Closed] (KARAF-5092) An Invalid input during log:tail results in blocking keyboard inputs.

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

Guillaume Nodet closed KARAF-5092.
----------------------------------
    Resolution: Duplicate
      Assignee: Guillaume Nodet

> An Invalid input during log:tail results in blocking keyboard inputs.
> ---------------------------------------------------------------------
>
>                 Key: KARAF-5092
>                 URL: https://issues.apache.org/jira/browse/KARAF-5092
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 4.1.1
>         Environment: Windows 7 x64, CMD
>            Reporter: Daniel Estermann
>            Assignee: Guillaume Nodet
>            Priority: Minor
>
> During log:tail was active I accidentally pressed arrow up and the log showed an exception:
> {code}2017-04-12 14:36:14,652 | WARN  | indowsStreamPump |                                  | 49 - org.jline - 3.2.0 | Error
> java.io.IOException: Read end dead
>         at java.io.PipedInputStream.checkStateForReceive(PipedInputStream.java:262) ~[?:?]
>         at java.io.PipedInputStream.receive(PipedInputStream.java:201) ~[?:?]
>         at java.io.PipedOutputStream.write(PipedOutputStream.java:122) ~[?:?]
>         at org.jline.terminal.impl.AbstractWindowsTerminal.processInputByte(AbstractWindowsTerminal.java:333) ~[?:?]
>         at org.jline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:294) ~[?:?]
>         at java.lang.Thread.run(Thread.java:745) [?:?]{code}
> After that the keyboard inputs were ignored, because the input stream was probably closed. Since Ctrl+D is ignored at this state, the only way to quit karaf is to kill the java process.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)