InterruptedException with uninformative message -----------------------------------------------
Key: FELIX-3354 URL: https://issues.apache.org/jira/browse/FELIX-3354 Project: Felix Issue Type: Improvement Components: Gogo Shell Affects Versions: gogo.shell-0.8.0 Reporter: Lazar Kirchev Priority: Minor When the OSGi framework, in which the Gogo shell is started, is stopped before the Gogo shell has finished initializing, the following exception occurs: gogo: InterruptedException: sleep interrupted java.lang.InterruptedException: sleep interrupted at java.lang.Thread.sleep(Native Method) at org.apache.felix.gogo.shell.Activator.run(Activator.java:72) at java.lang.Thread.run(Unknown Source) gogo.shell calls Thread.sleep(100) to wait for the gosh command to be registered. The exception occurs when this wait gets interrupted by the stopping of the framework. Since the framework is stopping this interruption does not cause any errors, but the message is not informative and users are getting confused that it is caused by an error in their code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira