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

Exception could be thrown after update from 5.5.1.0 to 5.5.1.1 (full bits).

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: OpenIDM 5.5.1.1
    • Fix Version/s: OpenIDM 5.5.1.1
    • Component/s: _Update
    • Environment:
      OpenIDM version "5.5.1.1-M3" (revision: b8b5523) jenkins-OpenIDM - 5.5.x - Release-50 sustaining/5.5.x

      Description

      Exception is observed after update process from 5.5.1.0. to 5.5.1.1(full bits) is completed and IDM is restarted.

      Exception is not thrown when update from 5.5.0.0 to 5.5.1.1.(full bits) or 5.5.1.0. to 5.5.1.1.(patch).

      Steps to reproduce:

      1. Install OpenIDM 5.5.1.0 with JDBC repo (tested with MySQL)
      2. Upgrade to OpenIDM 5.5.1.1 (full bits)
      3. Shutdown OpenIDM

      Expected result: OpenIDM is correctly stopped without any exception.

      Actual result: Exception is thrown.

      -> shutdown
      -> Sep 05, 2018 3:41:47 PM org.forgerock.openidm.sync.impl.RepoReconProgressStatePersistence getReconIdsForPersistedReconState
      SEVERE: Exception caught obtaining recon ids for persisted recon state: Resource 'repo/reconprogressstate' not found
      org.forgerock.json.resource.NotFoundException: Resource 'repo/reconprogressstate' not found
      at org.forgerock.json.resource.Router.getBestMatch(Router.java:234)
      at org.forgerock.json.resource.Router.handleQuery(Router.java:302)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:95)
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterQuery(Filters.java:84)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterQuery(Filters.java:84)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterQuery(Filters.java:84)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.openidm.audit.filter.AuditFilter.lambda$filterQuery$4(AuditFilter.java:136)
      at org.forgerock.openidm.audit.filter.AuditFilter.logAuditAccessEntry(AuditFilter.java:168)
      at org.forgerock.openidm.audit.filter.AuditFilter.filterQuery(AuditFilter.java:136)
      at org.forgerock.openidm.filter.MutableFilterDecorator.filterQuery(MutableFilterDecorator.java:90)
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterQuery(Filters.java:82)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3.lambda$filterQuery$4(ServletConnectionFactory.java:397)
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3.handleRequestWithLogging(ServletConnectionFactory.java:430)
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$3.filterQuery(ServletConnectionFactory.java:397)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.openidm.filter.PassthroughFilter.filterQuery(PassthroughFilter.java:66)
      at org.forgerock.openidm.filter.MutableFilterDecorator.filterQuery(MutableFilterDecorator.java:90)
      at org.forgerock.openidm.filter.MutableFilterDecorator.filterQuery(MutableFilterDecorator.java:90)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.json.resource.Filters$ConditionalFilter.filterQuery(Filters.java:84)
      at org.forgerock.json.resource.FilterChain$Cursor.handleQuery(FilterChain.java:93)
      at org.forgerock.json.resource.FilterChain.handleQuery(FilterChain.java:246)
      at org.forgerock.json.resource.InternalConnection.queryAsync(InternalConnection.java:74)
      at org.forgerock.json.resource.AbstractAsynchronousConnection.query(AbstractAsynchronousConnection.java:72)
      at org.forgerock.json.resource.AbstractConnectionWrapper.query(AbstractConnectionWrapper.java:165)
      at org.forgerock.openidm.servlet.internal.ServletConnectionFactory$2$1.query(ServletConnectionFactory.java:343)
      at org.forgerock.json.resource.AbstractConnectionWrapper.query(AbstractConnectionWrapper.java:165)
      at org.forgerock.openidm.sync.impl.RepoReconProgressStatePersistence.getReconIdsForPersistedReconState(RepoReconProgressStatePersistence.java:180)
      at org.forgerock.openidm.sync.impl.ReconciliationService.getPersistedReconState(ReconciliationService.java:313)
      at org.forgerock.openidm.sync.impl.ReconciliationService.cancelRunningReconJobs(ReconciliationService.java:600)
      at org.forgerock.openidm.sync.impl.ReconciliationService.deactivate(ReconciliationService.java:257)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.apache.felix.scr.impl.inject.BaseMethod.invokeMethod(BaseMethod.java:224)
      at org.apache.felix.scr.impl.inject.BaseMethod.access$500(BaseMethod.java:39)
      at org.apache.felix.scr.impl.inject.BaseMethod$Resolved.invoke(BaseMethod.java:617)
      at org.apache.felix.scr.impl.inject.BaseMethod.invoke(BaseMethod.java:501)
      at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:302)
      at org.apache.felix.scr.impl.inject.ActivateMethod.invoke(ActivateMethod.java:294)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:343)
      at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:152)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:813)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:787)
      at org.apache.felix.scr.impl.manager.DependencyManager.deactivateComponentManager(DependencyManager.java:2225)
      at org.apache.felix.scr.impl.manager.DependencyManager.access$500(DependencyManager.java:55)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:1082)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:968)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1241)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1136)
      at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:996)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1175)
      at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)
      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)
      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)
      at org.apache.felix.framework.Felix.access$000(Felix.java:106)
      at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:420)
      at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:144)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:908)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:873)
      at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:139)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:950)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:805)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:787)
      at org.apache.felix.scr.impl.manager.DependencyManager.deactivateComponentManager(DependencyManager.java:2225)
      at org.apache.felix.scr.impl.manager.DependencyManager.access$500(DependencyManager.java:55)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:1082)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.removedService(DependencyManager.java:968)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1241)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1136)
      at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:996)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1175)
      at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)
      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)
      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)
      at org.apache.felix.framework.Felix.access$000(Felix.java:106)
      at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:420)
      at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:144)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:908)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:873)
      at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:139)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:950)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:805)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:787)
      at org.apache.felix.scr.impl.manager.DependencyManager.deactivateComponentManager(DependencyManager.java:2225)
      at org.apache.felix.scr.impl.manager.DependencyManager.access$500(DependencyManager.java:55)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCustomizer.removedService(DependencyManager.java:890)
      at org.apache.felix.scr.impl.manager.DependencyManager$SingleDynamicCustomizer.removedService(DependencyManager.java:743)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1241)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1136)
      at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.untrack(ServiceTracker.java:996)
      at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1175)
      at org.apache.felix.scr.impl.BundleComponentActivator$ListenerInfo.serviceChanged(BundleComponentActivator.java:127)
      at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:991)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:839)
      at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:546)
      at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4557)
      at org.apache.felix.framework.Felix.access$000(Felix.java:106)
      at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:420)
      at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:144)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:908)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.unregister(AbstractComponentManager.java:873)
      at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:139)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.unregisterService(AbstractComponentManager.java:950)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:805)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.deactivateInternal(AbstractComponentManager.java:787)
      at org.apache.felix.scr.impl.manager.AbstractComponentManager.dispose(AbstractComponentManager.java:579)
      at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.disposeComponents(ConfigurableComponentHolder.java:706)
      at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:523)
      at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:452)
      at org.apache.felix.scr.impl.Activator.access$300(Activator.java:54)
      at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:306)
      at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)
      at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)
      at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
      at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
      at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)
      at org.apache.felix.framework.Felix.stopBundle(Felix.java:2600)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1389)
      at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
      at java.lang.Thread.run(Thread.java:748)
      

      Nevertheless it looks like OpenIDM works correctly after that exception. When OpenIDM is started, no exception is observed and no issue with OpenIDM is observed. But exception could be alarming for users.

      Tested on OpenIDM version "5.5.1.1-M3" (revision: b8b5523) jenkins-OpenIDM - 5.5.x - Release-50 sustaining/5.5.x.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt [X] (Inactive)
                Reporter:
                jakub.janoska Jakub Janoska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: