Stefan Scheidewig created SLING-3427:
----------------------------------------
Summary: Incorrect handling of NamespaceMapper bindings within
SlingServerRepositoryManager
Key: SLING-3427
URL: https://issues.apache.org/jira/browse/SLING-3427
Project: Sling
Issue Type: Bug
Components: JCR
Affects Versions: JCR Jackrabbit Server 2.1.2
Reporter: Stefan Scheidewig
Priority: Minor
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}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)