Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

com.day.cq.workflow.impl.email.EMailNotificationService Error while sending email.

Avatar

Level 2

Hi Team,

 

Kindly provide your inputs on below error.

 

26.06.2024 02:37:43.367 *ERROR* [EMailNotificationService-Processor] com.day.cq.workflow.impl.email.EMailNotificationService Error while sending email.
java.lang.NullPointerException: null
at com.day.cq.workflow.impl.email.EMailNotificationService.sendNotification(EMailNotificationService.java:238)
at com.day.cq.workflow.impl.email.EMailNotificationService$EventProcessor.run(EMailNotificationService.java:551)
at java.base/java.lang.Thread.run(Thread.java:834)
26.06.2024 02:37:43.475 *ERROR* [EMailNotificationService-Processor] com.day.cq.workflow.impl.email.EMailNotificationService workitem does not exist, falling back to item received from event:
com.day.cq.workflow.WorkflowException: Cannot load workItem: VolatileWorkItem_node1_var_workflow_instances_server1_2024-06-06_create-bogevs-vote-pages_125
at com.day.cq.workflow.impl.CQWorkflowSessionWrapper.getWorkItem(CQWorkflowSessionWrapper.java:431)
at com.day.cq.workflow.impl.email.EMailNotificationService.sendNotification(EMailNotificationService.java:238)
at com.day.cq.workflow.impl.email.EMailNotificationService$EventProcessor.run(EMailNotificationService.java:551)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: javax.jcr.RepositoryException: Not an absolute path: VolatileWorkItem_node1_var_workflow_instances_server1_2024-06-06_create-bogevs-vote-pages_125
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow(SessionImpl.java:152)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100(SessionImpl.java:82)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:229)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl$3.performNullable(SessionImpl.java:226)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable(SessionDelegate.java:242)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItemOrNull(SessionImpl.java:226)
at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItem(SessionImpl.java:393)
at com.adobe.granite.repository.impl.CRX3SessionImpl.getItem(CRX3SessionImpl.java:168)
at com.adobe.granite.workflow.core.jcr.WorkItemManager.getWorkItem(WorkItemManager.java:778)
at com.adobe.granite.workflow.core.WorkflowSessionImpl.getWorkItem(WorkflowSessionImpl.java:1032)
at com.day.cq.workflow.impl.CQWorkflowSessionWrapper.getWorkItem(CQWorkflowSessionWrapper.java:425)
... 3 common frames omitted

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

3 Replies

Avatar

Level 2

Thanks for reply @MukeshYadav_  but the same workflow is running on my local with same service pack 17 but it is not working in DEV. 

Avatar

Level 2

To add more, the workflow process java class is not getting triggered. tried adding logs but none of them are popping up in the logs.