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

null returned even if OSGi service is found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting Core 2.4.2
    • Scripting Core 2.4.4
    • Scripting
    • None

    Description

      AbstractBundledRenderUnit.getService(String className) can return null for a service even if the service is found in the service registry.

      This is because the last line of this method always returns null which discards the result from the local this.services cache if it's found in there.

      Attachments

        Issue Links

          Activity

            People

              davidb A. J. David Bosschaert
              davidb A. J. David Bosschaert
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m