Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Sometimes it may happen, that trying to get an activation (activate, deactive) or binding (bind, unbind) method throws an unexpected Throwable. For example in one use case, when updating a bundle (before refreshing packages), trying to get a bind method of one the new components throws a LinkageError which is just logged but may leave the component in an undefined half-started state.
The AbstractComponentManager.getMethod method should catch any throwables and encapsulate them such that this situation may be handled properly.