karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paolo Antinori (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-5406) CLI error on window resize on Linux(Wayland)
Date Wed, 04 Oct 2017 10:15:00 GMT

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

Paolo Antinori updated KARAF-5406:
----------------------------------
    Description: 
This is interesting.

It looks like {{jline}} is not silenced to ignore UI events it doesn't expects.

If I minimize/maximize my Terminal, which corresponds to the linux package {{terminator-1.91-2.fc26.noarch}}

I get this error spitted in the CLI console:

{code}
Exception in thread "SIGWINCH handler" java.lang.UnsupportedOperationException
	at org.jline.terminal.impl.NativeSignalHandler.handle(NativeSignalHandler.java:24)
	at org.apache.karaf.shell.impl.console.JLineTerminal.handle(JLineTerminal.java:280)
	at org.jline.terminal.impl.AbstractTerminal.raise(AbstractTerminal.java:65)
	at org.jline.terminal.impl.PosixSysTerminal.lambda$handle$1(PosixSysTerminal.java:65)
	at org.jline.utils.Signals.lambda$register$1(Signals.java:51)
	at com.sun.proxy.$Proxy31.handle(Unknown Source)
	at jdk.unsupported/sun.misc.Signal$InternalMiscHandler.handle(Signal.java:198)
	at java.base/jdk.internal.misc.Signal$1.run(Signal.java:220)
	at java.base/java.lang.Thread.run(Thread.java:844)

{code}

Nothing relevant in {{karaf.log}}


  was:
This is interesting.

It looks like `jline` is not silenced to ignore UI events it doesn't expects.

If I minimize/maximize my Terminal, which corresponds to the linux package `terminator-1.91-2.fc26.noarch`

I get this error spitted in the CLI console:

```
Exception in thread "SIGWINCH handler" java.lang.UnsupportedOperationException
	at org.jline.terminal.impl.NativeSignalHandler.handle(NativeSignalHandler.java:24)
	at org.apache.karaf.shell.impl.console.JLineTerminal.handle(JLineTerminal.java:280)
	at org.jline.terminal.impl.AbstractTerminal.raise(AbstractTerminal.java:65)
	at org.jline.terminal.impl.PosixSysTerminal.lambda$handle$1(PosixSysTerminal.java:65)
	at org.jline.utils.Signals.lambda$register$1(Signals.java:51)
	at com.sun.proxy.$Proxy31.handle(Unknown Source)
	at jdk.unsupported/sun.misc.Signal$InternalMiscHandler.handle(Signal.java:198)
	at java.base/jdk.internal.misc.Signal$1.run(Signal.java:220)
	at java.base/java.lang.Thread.run(Thread.java:844)

```

Nothing relevant in `karaf.log`


> CLI error on window resize on Linux(Wayland)
> --------------------------------------------
>
>                 Key: KARAF-5406
>                 URL: https://issues.apache.org/jira/browse/KARAF-5406
>             Project: Karaf
>          Issue Type: Bug
>         Environment: Fedora 26 with Wayland
> JDK9
> Karaf 4.1.2
>            Reporter: Paolo Antinori
>            Priority: Minor
>
> This is interesting.
> It looks like {{jline}} is not silenced to ignore UI events it doesn't expects.
> If I minimize/maximize my Terminal, which corresponds to the linux package {{terminator-1.91-2.fc26.noarch}}
> I get this error spitted in the CLI console:
> {code}
> Exception in thread "SIGWINCH handler" java.lang.UnsupportedOperationException
> 	at org.jline.terminal.impl.NativeSignalHandler.handle(NativeSignalHandler.java:24)
> 	at org.apache.karaf.shell.impl.console.JLineTerminal.handle(JLineTerminal.java:280)
> 	at org.jline.terminal.impl.AbstractTerminal.raise(AbstractTerminal.java:65)
> 	at org.jline.terminal.impl.PosixSysTerminal.lambda$handle$1(PosixSysTerminal.java:65)
> 	at org.jline.utils.Signals.lambda$register$1(Signals.java:51)
> 	at com.sun.proxy.$Proxy31.handle(Unknown Source)
> 	at jdk.unsupported/sun.misc.Signal$InternalMiscHandler.handle(Signal.java:198)
> 	at java.base/jdk.internal.misc.Signal$1.run(Signal.java:220)
> 	at java.base/java.lang.Thread.run(Thread.java:844)
> {code}
> Nothing relevant in {{karaf.log}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message