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:45:00 UTC
[jira] [Resolved] (SLING-10534) NullPointerException on stopping of
bundles
[ https://issues.apache.org/jira/browse/SLING-10534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved SLING-10534.
--------------------------------------
Resolution: Fixed
https://github.com/apache/sling-org-apache-sling-jcr-resource/commit/3e22411765bec909b005fa21155d107347e47ed7
> 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
> Priority: Major
> 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)