Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Discovery Oak 1.2.8
-
None
Description
During OSGi service re-registration it can happen that the following exception occurrs:
java.lang.Exception: No Descriptor value available at org.apache.sling.discovery.commons.providers.spi.base.DiscoveryLiteDescriptor.getDescriptorFrom(DiscoveryLiteDescriptor.java:45) at org.apache.sling.discovery.oak.cluster.OakClusterViewService.getLocalClusterView(OakClusterViewService.java:111) at org.apache.sling.discovery.base.commons.BaseDiscoveryService.getTopology(BaseDiscoveryService.java:77) at org.apache.sling.discovery.oak.OakDiscoveryService.checkForTopologyChange(OakDiscoveryService.java:657) at org.apache.sling.discovery.oak.pinger.OakViewChecker.discoveryLiteCheck(OakViewChecker.java:232) at org.apache.sling.discovery.oak.pinger.OakViewChecker.access$000(OakViewChecker.java:64) at org.apache.sling.discovery.oak.pinger.OakViewChecker$1.run(OakViewChecker.java:208) at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.safelyRun(PeriodicBackgroundJob.java:86) at org.apache.sling.discovery.base.commons.PeriodicBackgroundJob.run(PeriodicBackgroundJob.java:77) at java.lang.Thread.run(Unknown Source)
In this case a log ERROR is perhaps a bit loud.
Reduce that to log WARN (without the exception)
Attachments
Issue Links
- relates to
-
SLING-10204 Make OakDiscoveryService.updatedPropertyProvider tolerate deactivated repository
- Closed