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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...
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