-
Bug
-
Resolution: Timed out
-
Low
-
13
-
Severity 3 - Minor
-
Error
When saving a page, the following error occurs:
Oops - an error has occurred: Cause javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) caused by: java.lang.StackOverflowError at org.owasp.validator.html.scan.AntiSamyDOMScanner.recursiveValidateTag(AntiSamyDOMScanner.java:360) Stack Trace:[hide] javax.servlet.ServletException: Servlet execution threw an exception
Diagnosis:
Often occurs when data has been copied and pasted from other Confluence pages. To check Click Tools > View Storage Format on the trouble page. Here you will likely see some tags that had not been closed, such as:
<strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong>
Workaround:
- Copy the page from Tools > Copy
- While in edit mode, Select All content, and Cut to clipboard.
- Save page.
- Edit copy of page, and paste all content back in.
- Save page.
- Use this copy now as the original page.
- relates to
-
CONFCLOUD-32474 The Confluence editor should strip markup and classes when it is pasted into the page
-
- Closed
-