Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-2154

Template Not Found Exception When Sending Exception Email

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Done
    • Icon: Major Major
    • 1.3.0-M1
    • 1.3.0-M1
    • Notification
    • None

      It doesn't seem as though the template for exception emails is being found.

      ...
      Caused by: sgf.gateway.mail.MailException: java.io.FileNotFoundException: Template unhandledexception/unhandled-exception-subject.ftl not found.
              at sgf.gateway.mail.impl.FreeMarkerMailMessage.processTemplate(FreeMarkerMailMessage.java:209)
              at sgf.gateway.mail.impl.FreeMarkerMailMessage.getSubject(FreeMarkerMailMessage.java:172)
              at sgf.gateway.mail.impl.FreeMarkerCommonMailMessage.getSubject(FreeMarkerCommonMailMessage.java:41)
              at sgf.gateway.mail.impl.FreeMarkerMailMessage.createMimeMessage(FreeMarkerMailMessage.java:102)
              at sgf.gateway.mail.impl.SpringJavaMailSender$1.prepare(SpringJavaMailSender.java:48)
              at org.springframework.mail.javamail.JavaMailSenderImpl.send(JavaMailSenderImpl.java:352)
              ... 75 more
      Caused by: java.io.FileNotFoundException: Template unhandledexception/unhandled-exception-subject.ftl not found.
              at freemarker.template.Configuration.getTemplate(Configuration.java:489)
              at freemarker.template.Configuration.getTemplate(Configuration.java:452)
              at sgf.gateway.mail.impl.FreeMarkerMailMessage.processTemplate(FreeMarkerMailMessage.java:203)
              ... 80 more

              jcunning Jason Cunning
              nhook Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: