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
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same scenario but not the null pointer exception below is my case
ERROR test 394x199x1 108rqv8 103.205.152.154,10.10.40.28 /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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.