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

NullPointerException on stopping of bundles

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: JCR Resource 3.0.22
    • Fix Version/s: JCR Resource 3.0.24
    • Component/s: JCR
    • Labels:
      None

      Description

      If a bundle is stopping, a race condition might occur for example if a service user for that bundle is tried to get a resource resolver:
      java.lang.NullPointerException: null
      at org.apache.sling.jcr.resource.internal.helper.jcr.JcrProviderStateFactory.createProviderState(JcrProviderStateFactory.java:100) [org.apache.sling.jcr.resource:3.0.22]
      at org.apache.sling.jcr.resource.internal.helper.jcr.JcrResourceProvider.authenticate(JcrResourceProvider.java:303) [org.apache.sling.jcr.resource:3.0.22]

        Attachments

          Activity

            People

            • Assignee:
              cziegeler Carsten Ziegeler
              Reporter:
              cziegeler Carsten Ziegeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: