Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
14.10.16
-
None
-
Unknown
-
Description
Editing a page using the RealTime Editor removes content from the page. Between the "auto-save by Realtime Session", entire paragraphs get removed. This can be seen in the page history.
Conditions under which this occurred:
- only 1 user editing the page in RealTime session
- a message that I cannot store the change because of a broken network connection appeared
- the content could be recovered by rolling back the page to a prior version
In the server logs, this error is present 6 times in the span of 3minutes. The error is associated with the page where the content of the page disappeared
2024-04-02 10:40:57,055 [http-nio-8080-exec-1 - https://MYWEBSITE/WebHome] ERROR c.x.x.w.SaveAndContinueAction - Caught exception during save and continue java.lang.IndexOutOfBoundsException: Index 3 out of bounds for length 1 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) at java.base/java.util.Objects.checkIndex(Objects.java:372) at java.base/java.util.ArrayList.get(ArrayList.java:459) at com.xpn.xwiki.doc.XWikiDocument.updateDocumentSection(XWikiDocument.java:8553) at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:227) at com.xpn.xwiki.web.SaveAndContinueAction.doWrappedAction(SaveAndContinueAction.java:126) at com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:199) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:636) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339) [...]
This issue was encountered on XWiki 14.10.16 and it happened 3 different times, for the same page.