[
https://issues.apache.org/jira/browse/SLING-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed SLING-4582.
-----------------------------------
> Maintenance tasks should guard against NPE
> ------------------------------------------
>
> Key: SLING-4582
> URL: https://issues.apache.org/jira/browse/SLING-4582
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Event 3.5.4, Event 3.6.0
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Event 3.7.0
>
>
> As the maintenance tasks run asynchronously, the used services might get
> deactivated while the maintenance task is running. Although the task itself
> checks the configuration object for being valid, it does not check any
> service it accesses. This might run in an NPE.
> While the NPE itself should not pose a problem, it's not the best way to stop
> a maintenance task
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)