Notification emails are partly not working
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
JIRA notifications are not going out for a particular event.
JIRA Notification Helper does not highlight any problems.
There is nothing in the mail queue.
The following appears in the atlassian-jira.log
:
1
2
3
4
5
6
7
8
2014-05-07 11:31:50,916 http-bio-127.0.0.1-8080-exec-18 ERROR xxxx 691x42672x1 13ukp2v 00.000.000.000,00.000.00.00,127.0.0.1 /secure/CreateIssueDetails.jspa [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@f35a059[issue=XXXX-116,comment=<null>,worklog=<null>,changelog=<null>,eventTypeId=1,sendMail=true,params={eventsource=workflow, baseurl=https://xxxx.com/jira},subtasksUpdated=false]' from the invoker 'SingleParameterMethodListenerInvoker{method=public void com.atlassian.jira.event.listeners.mention.MentionEventListener.onIssueEvent(com.atlassian.jira.event.issue.IssueEvent), listener=com.atlassian.jira.event.listeners.mention.MentionEventListener@72b9837f}'.
java.lang.RuntimeException: com.atlassian.jira.crowd.embedded.ofbiz.OfBizUser cannot be cast to com.atlassian.jira.user.ApplicationUser
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
Cause
There is a plugin installed on the instance here that is not compatible with the JIRA instance. In most cases this would be JIRA Toolkit plugin.
Resolution
Update the JIRA Toolkit plugin to a version compatible with your JIRA version.
OR
Uninstall the add-on.
Was this helpful?