I'm sure this question has been asked previously, but I haven't found where, so if someone has the appropriate link, that'd be great :)
We've started seeing emails being sent by JIRA with the subject "An error occurred whilst rendering this message. Please Please contact the administrators, and inform them of this bug." - what does this really mean and what can I do to resolve?
The body of the message then contains a stack trace:
---- 8< ------
Encountered "<EOF>" at getEncodedBodyFromContent[line 13,
Was expecting one of:
Content-Type: text/plain; charset=UTF-8
---- >8 ----
and the body of the message that it was trying to send.
I have done some changes to templates today, but these messages started to be sent before the JIRA instance was restarted to pick up the template change.
Anyone know where I should start looking to resolve this issue?
You don't always need to restart Jira to pick up template changes - it reads the email templates on demand, and if it hasn't used one for a while, it may have dropped out of the cache, forcing it to re-read the .vm (which you've changed)
I suspect the fact the messages started before you restarted is a bit of a red-herring, and it's actually a consistent problem - you've got a mistake in the .vm you have altered.
It turns out that there was an error in a template... the difficult bit was identifying the template with the error.
Remembering that the email is built up of a subject and a body, checking the subject template, I found a missing "#end". With hindsight, unsurprisingly, this was after line 13 of that template file.
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 ...
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!
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