Unable to Save Edits on Confluence Cloud Pages

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Unable to save changes to a Confluence Page after making edits.  The following is generated when trying to save the page:

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

This can occur when data has been copied and pasted from other Confluence pages.  Check the Storage Format ( > View Storage Format) of the article and check to see if there are excessive <strong> tags listed; can appear 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>

Cause

This can occur when data has been copied and pasted from other Confluence pages. There is currently a bug for this issue, located at jira.atlassian.com/browse/CONF-34926.

Workarounds

Workaround 1

  1. Select all of the text on the page
  2. De-bold the text and save the page
  3. Once saved, re-bold the necessary text

Workaround 2

  1. Copy the page from ... > Copy
  2. While in edit mode, Select All content, and Cut to clipboard.
  3. Save page.
  4. Edit copy of page, and paste all content back in.
  5. Save page.
  6. Use this copy now as the original page

 

Last modified on Nov 15, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.