You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2016/02/23 01:02:18 UTC

[jira] [Updated] (SLING-5545) Potential NPE in ResourceProviderTracker.postEvents during shutdown

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

Stefan Seifert updated SLING-5545:
----------------------------------
    Summary: Potential NPE in ResourceProviderTracker.postEvents during shutdown  (was: Potential NP in ResourceProviderTracker.postEvents after shutdown)

> Potential NPE in ResourceProviderTracker.postEvents during shutdown
> -------------------------------------------------------------------
>
>                 Key: SLING-5545
>                 URL: https://issues.apache.org/jira/browse/SLING-5545
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.4.2
>            Reporter: Stefan Seifert
>            Assignee: Stefan Seifert
>            Priority: Minor
>             Fix For: Resource Resolver 1.4.4
>
>
> the method ResourceProviderTracker.postEvents, line 410 may throw an event if and event is posted while the service is already shutting down (listener is already null in this case).
> listener method should only called if listener object is not null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)