[ https://issues.apache.org/jira/browse/FELIX-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger updated FELIX-3348: ------------------------------------- Attachment: FELIX-3348-2.patch Thanks. On second thought: my patch may introduce an endless loop without exit: The current request is placed at the first position if an IllegalStateException is thrown under the assumption this is a transient situation. If the exception keeps being thrown the same request is placed over and over again without any other request having a chance to enter. Maybe it would be better to just retry once and on the second round log an error message but to not do it again ? > StartLevel thread may terminate on uncaught exception > ----------------------------------------------------- > > Key: FELIX-3348 > URL: https://issues.apache.org/jira/browse/FELIX-3348 > Project: Felix > Issue Type: Bug > Components: Framework > Affects Versions: framework-4.0.2 > Reporter: Felix Meschberger > Assignee: Richard S. Hall > Fix For: framework-4.2.0 > > Attachments: FELIX-3348-2.patch, FELIX-3348.patch > > > It looks like an uncaught exception is able to terminate the StartLevel > thread thus causing the framework to not be properly controllable. > Sample issue: Felix.setActiveStartLevel may throw IllegalStateException if > global lock cannot be acquired. This exception is not caught and causes > StartLevel thread to terminate. -- 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