Hi All,
We are migrating from AEM 6.1 to 6.4 and getting below exception while executing a workflow.
Its internal OOTB exception, which we are not able to debug.
Exception -->
com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:204)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:261)
at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:502)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:293)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:60)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:229)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.adobe.granite.workflow.WorkflowException: java.lang.UnsupportedOperationException: No longer supported (UserManagerFactory#createUserManager(Session)).
at com.ko.cms.freestyle.workflow.UserNotification.execute(UserNotification.java:410)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:198)
... 8 more
Caused by: java.lang.UnsupportedOperationException: No longer supported (UserManagerFactory#createUserManager(Session)).
at com.day.cq.security.impl.CQUserManagerFactoryImpl.createUserManager(CQUserManagerFactoryImpl.java:58)
at com.ko.cms.freestyle.workflow.UserNotification.execute(UserNotification.java:114)
... 9 more
Thanks