Since the changes made for XWIKI-22892 I started to obtain logs such as:
2025-02-21 10:35:23,975 [XWiki Scheduler initialization] WARN c.x.x.d.XWikiDocument - Abusive modification of the cached document [xwiki:Mail.MailResender()]
java.lang.IllegalStateException: Abusive modification of the cached document
at com.xpn.xwiki.doc.XWikiDocument.setMetaDataDirty(XWikiDocument.java:2436)
at com.xpn.xwiki.objects.BaseElement.setDirty(BaseElement.java:133)
at com.xpn.xwiki.objects.BaseProperty.setDirty(BaseProperty.java:386)
at com.xpn.xwiki.objects.BaseProperty.setValueDirty(BaseProperty.java:380)
at com.xpn.xwiki.objects.BaseStringProperty.setValue(BaseStringProperty.java:61)
at com.xpn.xwiki.objects.BaseCollection.setStringValue(BaseCollection.java:337)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.prepareJobStubContext(SchedulerPlugin.java:215)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.scheduleJob(SchedulerPlugin.java:383)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.register(SchedulerPlugin.java:327)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.register(SchedulerPlugin.java:320)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:305)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.initAsync(SchedulerPlugin.java:177)
at com.xpn.xwiki.plugin.scheduler.SchedulerPlugin$1.run(SchedulerPlugin.java:129)
at org.xwiki.context.concurrent.ExecutionContextRunnable.run(ExecutionContextRunnable.java:71)
at java.base/java.lang.Thread.run(Thread.java:840)
at startup of XWiki.
I obtained those logs for the schedulers:
xwiki:Mail.MailResender()
xwiki:Mail.MailResender() (apparently got the log twice)
xwiki:Scheduler.NotificationEmailDailySender()
xwiki:Scheduler.NotificationEmailHourlySender()
xwiki:Scheduler.NotificationEmailWeeklySender()
2 updates
Changes by Thomas Mortagne on 21/Feb/25 11:03
Component:
Scheduler
Component:
Old Core
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.