Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1559

Potential NPE when logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Installer Core 3.0.0
    • Installer Core 3.0.0
    • Installer
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: