We no longer receive email notifications from XWiki (v.15.0) although the notifications themselves (the bell) work.
Sharing a page works, the email arrives fine - the settings entered in the SMTP configuration page are correct.
Mails do not arrive in our “junk” folders.
The log file /var/log/tomcat9/catalina.out does not give much information:
[2023-02-06 00:00:07] [info] 2023-02-06 00:00:07,718 [Mail Prepare Thread] ERROR o.a.v.d.null - Exception in macro #link called at /templates/notification/email/default.html.vm[line 100, column 1]
[2023-02-06 00:00:07] [info] 2023-02-06 00:00:07,719 [Mail Prepare Thread] ERROR o.a.v.d.null - Exception in macro #displayNotificationPage called at /templates/notification/email/default.html.vm[line 132, column 1]
[2023-02-06 00:00:07] [info] 2023-02-06 00:00:07,719 [Mail Prepare Thread] ERROR o.a.v.d.null - Exception in macro #displayNotificationRightCell called at /templates/notification/email/default.html.vm[line 27, column 7>
[2023-02-06 00:00:07] [info] 2023-02-06 00:00:07,719 [Mail Prepare Thread] ERROR o.a.v.d.null - Exception in macro #displayNotificationSkeleton called at /templates/notification/email/default.html.vm[line 27, column 1]
[2023-02-06 00:00:07] [info] 2023-02-06 00:00:07,720 [Mail Prepare Thread] ERROR ultPeriodicMimeMessageIterator - Failed to generate an email for the user [xwiki:XWiki.mpo].
[2023-02-06 00:00:07] [info] org.xwiki.notifications.NotificationException: Failed to render the notification.
Does anyone have any ideas?
Thanks for reading.