Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I recently found a very strange behavior with one of my components:
- there is a static bound setter for a service X
- in case of injection of X I call a method an perform some action on it
- if it now happens that a ClassCastException is thrown this seems to be silently ignored
- my activate method is called and the service seems to be registered sucessfully
This is very bad, because I only noticed that something was wrong because it failed then later on and everything looks "normal" (no entry in the OSGi log for example, component seems to be activated...)