Details
-
Bug
-
Resolution: Fixed
-
Major
-
16.10.4
-
None
-
Unknown
-
N/A
-
N/A
-
Description
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()
Attachments
Issue Links
- is related to
-
XWIKI-22910 The mandatory document initializer is modifying the cached document
-
- Closed
-
- relates to
-
XWIKI-22912 The current user property update REST endpoint is modifying the cached document
-
- Closed
-