felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Shutdown oddities with Gogo 1.0.0
Date Mon, 14 Nov 2016 16:15:38 GMT
Here is felix 5.6.1 with gogo.

____________________________
Welcome to Apache Felix Gogo

g! lb
                           11:12:55
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (5.6.1)|5.6.1
    1|Active     |    1|JLine (3.0.0)|3.0.0
    2|Active     |    1|Apache Felix Bundle Repository (2.0.8)|2.0.8
    3|Active     |    1|Apache Felix Gogo Command (1.0.0)|1.0.0
    4|Active     |    1|Apache Felix Gogo JLine Shell (1.0.0)|1.0.0
    5|Active     |    1|Apache Felix Gogo Runtime (1.0.0)|1.0.0


g! exit 0
                           11:12:45
g!
g!
g!
g!
g! !!! FAILED TO STOP EXECUTOR !!!

If I "control-D", I get an unhappy backtrace on the way out, but not always:

gosh: stopping framework
gogo: unable to create consoleInterruptedIOException: Command interrupted
java.io.InterruptedIOException: Command interrupted
at org.jline.utils.ExecHelper.exec(ExecHelper.java:43)
at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:158)
at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:86)
at org.jline.terminal.impl.ExecPty.setAttr(ExecPty.java:92)
at org.jline.terminal.impl.AbstractPosixTerminal.close(AbstractPosixTerminal.java:63)
at org.jline.terminal.impl.PosixSysTerminal.close(PosixSysTerminal.java:85)
at org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:159)
at org.apache.felix.gogo.jline.Activator.lambda$startShell$0(Activator.java:106)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
at org.jline.utils.ExecHelper.waitAndCapture(ExecHelper.java:63)
at org.jline.utils.ExecHelper.exec(ExecHelper.java:36)
... 8 more

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message