You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2021/06/22 17:42:00 UTC

[jira] [Created] (SLING-10534) NullPointerException on stopping of bundles

Carsten Ziegeler created SLING-10534:
----------------------------------------

             Summary: NullPointerException on stopping of bundles
                 Key: SLING-10534
                 URL: https://issues.apache.org/jira/browse/SLING-10534
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Resource 3.0.22
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: JCR Resource 3.0.24


If a bundle is stopping, a race condition might occur for example if a service user for that bundle is tried to get a resource resolver:
java.lang.NullPointerException: null
	at org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderStateFactory.createProviderState(JcrProviderStateFactory.java:100) [org.apache.sling.jcr.resource:3.0.22]
	at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.authenticate(JcrResourceProvider.java:303) [org.apache.sling.jcr.resource:3.0.22]




--
This message was sent by Atlassian Jira
(v8.3.4#803005)