karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Estermann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-5092) An Invalid input during log:tail results in blocking keyboard inputs.
Date Wed, 12 Apr 2017 13:16:41 GMT

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

Daniel Estermann updated KARAF-5092:
------------------------------------
    Description: 
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.

  was:
After log:tail I accidentally pressed arrow up, 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}


> 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
>            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
(v6.3.15#6346)

Mime
View raw message