Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3409

CompositeRegistration.unregister diagnostics not helpful

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.19
    • 1.0.23, 1.2.8, 1.3.9, 1.4
    • core
    • None

    Description

      See in the real-world:

      14.09.2015 14:54:11.610 *INFO* [FelixStartLevel] com.adobe.granite.repository.impl.SlingRepositoryManager stop: Uncaught problem disposing the repository
      java.lang.IllegalStateException: Service already unregistered.
              at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:124)
              at org.apache.jackrabbit.oak.osgi.OsgiWhiteboard$1.unregister(OsgiWhiteboard.java:75)
              at org.apache.jackrabbit.oak.spi.whiteboard.CompositeRegistration.unregister(CompositeRegistration.java:43)
              at org.apache.jackrabbit.oak.Oak$6.close(Oak.java:568)
      ...
      

      Problems:

      1) There is no information which registration failed, and maybe:

      2) Is it ok for the code to give up on the first problem?

      Attachments

        1. OAK-3409.patch
          5 kB
          Alex Deparvu

        Activity

          People

            stillalex Alex Deparvu
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: