sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Munteanu (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SLING-1559) Potential NPE when logging
Date Wed, 20 Sep 2017 12:13:01 GMT

     [ 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)

Mime
View raw message