...
When sending a message to email, the plugin writes an error message to the atlassian-jira.log file
Symptoms
Code Block |
---|
2022-09-23 14:35:31,188+0300 JiraTaskExecutionThread-2 ERROR admin [velocity] ResourceManager : unable to find resource 'mail/html-body.vm' in any resource loader. |
...
2022-09-23 14:35:31,188+0300 JiraTaskExecutionThread-2 ERROR admin [c.atlassian.velocity.JiraVelocityManager] Template mail/html-body.vm is not accessible. |
...
org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'mail/html-body.vm' |
...
at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:483) |
...
at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:354) |
...
at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400) |
...
at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:422) |
...
at com.atlassian.velocity.JiraVelocityManager.isTemplateAvailable(JiraVelocityManager.java:60) |
In addition to mail/html-body.vm
, information about files may be present:
Code Block |
---|
html-body.vm |
...
mail-subject.vm |
...
text-body.vm |
...
anonymize-users.vm |
...
license-error.vm |
...
scheduled-anonymizer-tasks.vm |
Cause
Messages are sent using the Atlassian component. At the moment, it does not work quite correctly, and the first time it cannot access our message templates, which causes this entry in the atlassain-jira.log file.
...