[
https://issues.apache.org/jira/browse/FELIX-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.W. Janssen resolved FELIX-3354.
---------------------------------
Resolution: Fixed
No longer an issue with the fixes for FELIX-5077 / FELIX-3331. The
InterruptedException is caught and properly handled.
> 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 was sent by Atlassian JIRA
(v6.3.4#6332)