sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-7811) NPE when repository is starting up
Date Mon, 06 Aug 2018 16:02:00 GMT

     [ https://issues.apache.org/jira/browse/SLING-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler updated SLING-7811:
------------------------------------
    Affects Version/s:     (was: JCR Resource 3.0.14)
                       JCR Oak Server 1.1.4
                       JCR Base 3.0.4

> NPE when repository is starting up
> ----------------------------------
>
>                 Key: SLING-7811
>                 URL: https://issues.apache.org/jira/browse/SLING-7811
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: JCR Oak Server 1.1.4, JCR Base 3.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: JCR Base 3.0.6, JCR Oak Server 1.2.2
>
>
> 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]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message