Hello Everyone,
We are upgrading our code from AEM6.1 to AEM6.3. In one of our Workflow process steps we get the above error.
Code snippet:
final ServiceReference scrServiceRef = context.getBundleContext()
.getServiceReference(ScrService.class.getName());
final ScrService scrService = (ScrService) context.getBundleContext()
.getService(scrServiceRef);
final org.apache.felix.scr.Component[] components = scrService
.getComponents(WorkflowEmailNotificaton.EMAILNOTIFICATION_SERVICE_NAME);
Thanks,
Megha