Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6AA89200B5C for ; Wed, 27 Jul 2016 17:04:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6834C160A90; Wed, 27 Jul 2016 15:04:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B9E34160A93 for ; Wed, 27 Jul 2016 17:04:21 +0200 (CEST) Received: (qmail 84450 invoked by uid 500); 27 Jul 2016 15:04:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 84320 invoked by uid 99); 27 Jul 2016 15:04:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 15:04:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9611B2C0D62 for ; Wed, 27 Jul 2016 15:04:20 +0000 (UTC) Date: Wed, 27 Jul 2016 15:04:20 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (KARAF-4596) log:tail doesn't correct correctly with jline 3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Jul 2016 15:04:22 -0000 [ https://issues.apache.org/jira/browse/KARAF-4596?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Nodet reassigned KARAF-4596: -------------------------------------- Assignee: Guillaume Nodet (was: Jean-Baptiste Onofr=C3=A9) > log:tail doesn't correct correctly with jline 3 > ----------------------------------------------- > > Key: KARAF-4596 > URL: https://issues.apache.org/jira/browse/KARAF-4596 > Project: Karaf > Issue Type: Bug > Components: karaf-shell > Affects Versions: 4.1.0 > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Guillaume Nodet > Fix For: 4.1.0 > > > As Karaf 4.1.x upgraded to jline 3, {{log:tail}} doesn't work correctly a= nymore. > The display itself is OK, but using CTRL-C to stop the display results wi= th: > {code} > Error executing command: java.lang.InterruptedException > 2016-06-25 06:54:48,688 | ERROR | nsole user karaf | ShellUtil = | 43 - org.apache.karaf.shell.core - 4.1.0.SNAPSHOT | Exceptio= n caught while executing command > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) ~[?:?] > at java.lang.Object.wait(Object.java:502) [?:?] > at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.start= (CommandSessionImpl.java:746) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHO= T] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:280= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:157= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:148= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(Comma= ndSessionImpl.java:169) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > {code} > Then, any command fails with: > {code} > Error executing command: A job is already in foreground > 2016-06-25 06:54:52,540 | ERROR | nsole user karaf | ShellUtil = | 43 - org.apache.karaf.shell.core - 4.1.0.SNAPSHOT | Exceptio= n caught while executing command > java.lang.IllegalStateException: A job is already in foreground > at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.foreg= round(CommandSessionImpl.java:642) [43:org.apache.karaf.shell.core:4.1.0.SN= APSHOT] > at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.start= (CommandSessionImpl.java:740) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHO= T] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:280= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:157= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:148= ) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(Comma= ndSessionImpl.java:169) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(Con= soleSessionImpl.java:265) [43:org.apache.karaf.shell.core:4.1.0.SNAPSHOT] > at java.lang.Thread.run(Thread.java:745) [?:?] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)