Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
JCR Resource 3.0.14
-
None
Description
WIth the latest resource resolver I get:
I suspect this has to do with the revert of some mapping code before the 1.6.4 release (which I unfortunately did not test):
03.08.2018 18:04:26.528 ERROR [FelixStartLevel] org.apache.sling.resourceresolver.impl.CommonResourceResolverFactoryImpl activate: Cannot access repository, failed setting up Mapping Support
java.lang.NullPointerException: null
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getWorkspace(SessionImpl.java:265) [org.apache.jackrabbit.oak-jcr:1.9.6.R1836532]
at com.adobe.granite.repository.impl.CRX3SessionImpl.getWorkspace(CRX3SessionImpl.java:133) [com.adobe.granite.repository:1.6.4]
at org.apache.sling.jcr.resource.internal.helper.jcr.BasicQueryLanguageProvider.getSupportedLanguages(BasicQueryLanguageProvider.java:69) [org.apache.sling.jcr.resource:3.0.14]
at org.apache.sling.resourceresolver.impl.providers.stateful.AuthenticatedResourceProvider.getSupportedLanguages(AuthenticatedResourceProvider.java:249) [org.apache.sling.resourceresolver:1.6.4]
at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.getQueryableProviders(ResourceResolverControl.java:469) [org.apache.sling.resourceresolver:1.6.4]
at org.apache.sling.resourceresolver.impl.helper.ResourceResolverControl.findResources(ResourceResolverControl.java:456) [org.apache.sling.resourceresolver:1.6.4]
at org.apache.sling.resourceresolver.impl.ResourceResolverImpl.findResources(ResourceResolverImpl.java:739) [org.apache.sling.resourceresolver:1.6.4]
at org.apache.sling.resourceresolver.impl.mapping.MapEntries.loadVanityPaths(MapEntries.java:1130) [org.apache.sling.resourceresolver:1.6.4]
Attachments
Issue Links
- is caused by
-
SLING-3524 ResourceResolver.clone(null) should not share the same JCR session
- Closed
- is cloned by
-
SLING-7811 NPE when repository is starting up due to repository manager shutdown
- Closed