• Community
  • Products
  • Jira
  • Questions
  • /secure/QuickCreateIssue.jspa [jira.event.issue.IssueEventListenerHandler] Exception thrown from listener [com.atlassian.jira.event.listeners.mail.MailListener] : null

/secure/QuickCreateIssue.jspa [jira.event.issue.IssueEventListenerHandler] Exception thrown from listener [com.atlassian.jira.event.listeners.mail.MailListener] : null

Just completed and upgrade to JIRA v5.2.2 and the following error is being thrown:

/secure/QuickCreateIssue.jspa [jira.event.issue.IssueEventListenerHandler] Exception thrown from listener [com.atlassian.jira.event.listeners.mail.MailListener] : null
java.lang.NullPointerException

also seeing this:

/secure/QuickCreateIssue.jspa [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event 'com.atlassian.jira.event.issue.IssueEvent@5ec8379f[issue=MENVI-697,comment=<null>,worklog=<null>,changelog=<null>,eventTypeId=1,sendMail=true,params={eventsource=workflow, baseurl=http://jira.pearsoncmg.com},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@14af3b51}'.
java.lang.RuntimeException: java.lang.NullPointerException

My mail listener seems to be configured and my notification schemes are in place.

Can anyone give me amy insight to this issue?

Thank you so much

1 answer

1 accepted

I would guess it's because some of the fields which should be send are "null". Add a check to your email velocity templates and ignore the fields if they are "null".

Thanks for the tip Dominic.

It is dissapointing when things like this "pop-up" after an upgrade. No issue with this in v5.1.2.

You made my day Dominic. cheers Sven from //SM

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot