karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xilai Dai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4994) The InterruptedException is thrown when logout from karaf console
Date Fri, 24 Feb 2017 10:48:44 GMT
Xilai Dai created KARAF-4994:

             Summary: The InterruptedException is thrown when logout from karaf console
                 Key: KARAF-4994
                 URL: https://issues.apache.org/jira/browse/KARAF-4994
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.1.0
            Reporter: Xilai Dai
            Priority: Minor

When execute "logout" from karaf console, the ERROR of InterruptedException will be thrown
2017-02-24T15:11:02,185 | INFO  | pipe-logout      | shell.commands.impl.LogoutAction   38
| 55 - org.apache.karaf.shell.commands - 4.1.0 | Disconnecting from current session...
2017-02-24T15:11:02,206 | ERROR | Karaf local console user karaf | he.karaf.shell.support.ShellUtil
 149 | 57 - org.apache.karaf.shell.core - 4.1.0 | Exception caught while executing command
	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:772)
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:284) [57:org.apache.karaf.shell.core:4.1.0]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:157) [57:org.apache.karaf.shell.core:4.1.0]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:148) [57:org.apache.karaf.shell.core:4.1.0]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:168)
	at org.apache.karaf.shell.impl.console.ConsoleSessionImpl.run(ConsoleSessionImpl.java:347)
	at java.lang.Thread.run(Thread.java:745) [?:?]

the InterruptedException is thrown from L772 of the org.apache.felix.gogo.runtime.CommandSessionImpl

it will wait until InterruptedException because there is no notify()/notifyAll() got invoked
in case of run "logout" command.

This message was sent by Atlassian JIRA

View raw message