Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15898

Felix EventAdmin throws SEVERE exception upon shutdown

    Details

      Description

      Upon shutdown OpenIDM often logs the following SEVERE exception to the console:

      -> [29] Dec. 02, 2020 10:51:09.447 A.M. org.forgerock.openidm.config.logging.LogServiceTracker logEntry-> [29] Dec. 02, 2020 10:51:09.447 A.M. org.forgerock.openidm.config.logging.LogServiceTracker logEntrySEVERE: Bundle: org.apache.felix.eventadmin [53] FrameworkEvent ERRORorg.apache.felix.log.LogException: org.osgi.framework.ServiceException: Service factory returned null. (Component: org.forgerock.openidm.config.manage (96)) at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:381) at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:248) at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350) at org.apache.felix.framework.Felix.getService(Felix.java:3954) at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:450) at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.obtain(EventHandlerProxy.java:286) at org.apache.felix.eventadmin.impl.handler.EventHandlerProxy.sendEvent(EventHandlerProxy.java:407) at org.apache.felix.eventadmin.impl.tasks.HandlerTask.run(HandlerTask.java:70) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
      

      The above appears to be related to the introduction of the waitForCompletion flag on the config endpoint. See OPENIDM-15587.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ben.apple Ben Apple
                Reporter:
                cgdrake Chris Drake
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: