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

"ActivitiContext class cannot be found" error during queued sync

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      2020.03 - IDM
    • Support Ticket IDs:

      Description

      Steps to reproduce - 

      • Create a workflow for launching an add member to role action. 
      • Create a Ldap connector, and a mapping from managed/User to ldap account. 
      • Create a role and an assignment to an ldapGroup. 
      • Enable the queued sync in this mapping. 
      • Launch the workflow, and add a member to the role. 
      • You will see that the event remains forever in the queue and the reported errors appears continuously in the log.
      Caused by: java.lang.reflect.InvocationTargetException         at jdk.internal.reflect.GeneratedConstructorAccessor129.newInstance(Unknown Source)         at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)         at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)         at org.forgerock.services.context.AbstractContext.load0(AbstractContext.java:133)         ... 145 more Caused by: java.lang.IllegalArgumentException: Unable to instantiate Context implementation class 'org.forgerock.openidm.workflow.activiti.impl.ActivitiContext'         at org.forgerock.services.context.AbstractContext.load0(AbstractContext.java:135)         at org.forgerock.services.context.AbstractContext.<init>(AbstractContext.java:122)         at org.forgerock.services.context.TransactionIdContext.<init>(TransactionIdContext.java:39)         ... 149 more Caused by: java.lang.ClassNotFoundException: org.forgerock.openidm.workflow.activiti.impl.ActivitiContext not found by org.forgerock.openidm.sync [203]         at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)         at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)         at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)         at java.base/java.lang.Class.forName0(Native Method)         at java.base/java.lang.Class.forName(Class.java:398)         at org.forgerock.services.context.AbstractContext.load0(AbstractContext.java:129)         ... 151 more
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cgdrake Chris Drake
                Reporter:
                becky.maund Becky Maund
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: