Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
scr-1.8.0
-
None
Description
If a locateService call comes in while a dependency manager is changing it's target filter you get a stack trace like:
Stack Dump = java.lang.NullPointerException
at org.apache.felix.scr.impl.manager.DependencyManager.getRefPair(DependencyManager.java:1281)
at org.apache.felix.scr.impl.manager.DependencyManager.getService(DependencyManager.java:1299)
at org.apache.felix.scr.impl.manager.ComponentContextImpl.locateService(ComponentContextImpl.java:107)