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

Possible NPE in SlingAdaptable if adapter manager service is not running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adapter 2.0.4
    • Adapter 2.0.6
    • Extensions
    • None

    Description

      When the adapter manager service is not running (for example if the SlingAdaptable is used outside an OSGi environment like junit tests) ,calling the adaptTo() method results in a NPE

      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: