[
https://issues.apache.org/jira/browse/KARAF-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473233#comment-15473233
]
Guillaume Nodet commented on KARAF-4697:
----------------------------------------
The PR has been merged, so it should be fixed when upgrading to jline 3.0 RC2.
> Infinite error loop on F24
> --------------------------
>
> Key: KARAF-4697
> URL: https://issues.apache.org/jira/browse/KARAF-4697
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 4.1.0
> Reporter: John Poth
> Assignee: Guillaume Nodet
>
> Since
> [KARAF-4188|https://github.com/apache/karaf/commit/12fdb85f3afb34b9cbd3207aa405a3036ce27913],
> KARAF will use the JnaNativePty by default which causes the following
> infinite error loop on F24: {code} 2016-09-02T13:30:49,505 | ERROR | Karaf
> local console user karaf | ShellUtil | 43 - org.apache.karaf.shell.core -
> 4.1.0.SNAPSHOT | Exception caught while executing command
> com.sun.jna.LastErrorException: [22] at com.sun.jna.Native.invokeVoid(Native
> Method) ~[?:?] at com.sun.jna.Function.invoke(Function.java:367) [?:?] at
> com.sun.jna.Function.invoke(Function.java:315) [?:?] at
> com.sun.jna.Library$Handler.invoke(Library.java:212) [?:?] at
> com.sun.proxy.$Proxy33.tcsetattr(Unknown Source) [9:jline:3.0.0.M1] at
> org.jline.terminal.impl.jna.linux.LinuxNativePty.setAttr(LinuxNativePty.java:71)
> [9:jline:3.0.0.M1] at
> org.jline.terminal.impl.AbstractPosixTerminal.setAttributes(AbstractPosixTerminal.java:36)
> [9:jline:3.0.0.M1] at
> org.jline.terminal.impl.AbstractTerminal.enterRawMode(AbstractTerminal.java:94)
> [9:jline:3.0.0.M1] at
> org.apache.karaf.shell.impl.console.JLineTerminal.enterRawMode(JLineTerminal.java:138)
> [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] at
> org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:444)
> [9:jline:3.0.0.M1] at
> org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:390)
> [9:jline:3.0.0.M1] {code} I created an
> [issue|https://github.com/jline/jline3/issues/11] and
> [PR|https://github.com/jline/jline3/pull/12] in JLine3 to resolve this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)