You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/09/20 12:13:01 UTC

[jira] [Closed] (SLING-1559) Potential NPE when logging

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

Robert Munteanu closed SLING-1559.
----------------------------------

> Potential NPE when logging
> --------------------------
>
>                 Key: SLING-1559
>                 URL: https://issues.apache.org/jira/browse/SLING-1559
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Core 3.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.0.0
>
>
> The logging code does first a getLogService() to check if the service is available. If it is available it calls getLogService() again and directly logs.
> This might result in an NPE when the log service goes away between the two calls



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