Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
JCR Jackrabbit Server 2.1.2
Description
The bind method for the namespace service references within class org.apache.sling.jcr.jackrabbit.server.impl.SlingServerRepositoryManager is accessing the ComponentContext set by the activate method but unfortunately that is incorrect because the Declarative Services Specification Version 1.1 - section 112.5.6 states that the binding happens before the activation. So the attempt to bind the TestNamespaceMapper Service to the SlingServerRepositoryManager always results in a NullPointerException.