• 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

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

2 answers

1 accepted

0 votes
Accepted answer

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

I have the same scenario but not the null pointer exception below is my case

ERROR test 394x199x1 108rqv8, /secure/CreateIssueDetails.jspa [c.a.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.jira.event.issue.IssueEvent@6763360d[issue=AD-75,comment=<null>,worklog=<null>,changelog=<null>,eventTypeId=1,sendMail=true,params={eventsource=workflow, baseurl=https://jira.test-cloud.com},subtasksUpdated=false]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.adit.jira.sync.plugin.IssueCreatedResolvedListener.onIssueEvent(com.atlassian.jira.event.issue.IssueEvent) throws java.text.ParseException,com.test.jira.sync.plugin.exception.JiraSyncException,org.codehaus.jackson.JsonParseException,org.codehaus.jackson.map.JsonMappingException,java.io.IOException, listener=com.test.jira.sync.plugin.IssueCreatedResolvedListener@546d409c}]
java.lang.RuntimeException: Listener: com.test.jira.sync.plugin.IssueCreatedResolvedListener event: com.atlassian.jira.event.issue.IssueEvent

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,086 views 4 9
Read article

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