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] [Resolved] (SLING-7266) NPE in resource resolver activator
Date Sat, 25 Nov 2017 19:47:00 GMT

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

Carsten Ziegeler resolved SLING-7266.
-------------------------------------
    Resolution: Fixed
      Assignee: Carsten Ziegeler

Added additional null check in rev e10e25b

> NPE in resource resolver activator
> ----------------------------------
>
>                 Key: SLING-7266
>                 URL: https://issues.apache.org/jira/browse/SLING-7266
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.5.30, Resource Resolver 1.5.32
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Critical
>             Fix For: Resource Resolver 1.5.34
>
>
> When restarting SCR the following NPE happens:
> 24.11.2017 15:49:33.647 *ERROR* [FelixDispatchQueue] org.apache.sling.resourceresolver
FrameworkEvent ERROR (java.lang.NullPointerException)
> java.lang.NullPointerException: null
> 	at org.apache.sling.resourceresolver.impl.FactoryPreconditions.checkPreconditions(FactoryPreconditions.java:106)
> 	at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryActivator.checkFactoryPreconditions(ResourceResolverFactoryActivator.java:535)
> 	at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryActivator.access$100(ResourceResolverFactoryActivator.java:73)
> 	at org.apache.sling.resourceresolver.impl.ResourceResolverFactoryActivator$1.providerRemoved(ResourceResolverFactoryActivator.java:394)
> 	at org.apache.sling.resourceresolver.impl.providers.ResourceProviderTracker.unregister(ResourceProviderTracker.java:254)
> 	at org.apache.sling.resourceresolver.impl.providers.ResourceProviderTracker.access$100(ResourceProviderTracker.java:59)
> 	at org.apache.sling.resourceresolver.impl.providers.ResourceProviderTracker$1.removedService(ResourceProviderTracker.java:114)
> 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:967)
> 	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:870)
> 	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
> 	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:909)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message