Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54147

ServletException while saving pages with corrupt formatting

      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:

      1. Copy the page from Tools > 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.

            [CONFCLOUD-54147] ServletException while saving pages with corrupt formatting

            Hi everyone,

            Thank you for previously raising this bug and bringing it to our attention.

            Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Confluence users.

            As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know.

            Thank you again for providing valuable feedback to our team!

            Sunny Xu (Inactive) added a comment - Hi everyone, Thank you for previously raising this bug and bringing it to our attention. Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Confluence users. As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know. Thank you again for providing valuable feedback to our team!

            I've had this problem several times over the last 5 months.

            Joy McCrea added a comment - I've had this problem several times over the last 5 months.

            Shawn C added a comment -

            Another possible workaround:

            • Select all of the text on the page
            • De-bold the text and save the page
            • Once saved, re-bold the necessary text

            Shawn C added a comment - Another possible workaround : Select all of the text on the page De-bold the text and save the page Once saved, re-bold the necessary text

              Unassigned Unassigned
              smackie@atlassian.com Shannon S
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: