Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-53745

InvocationTargetException while saving pages with corrupt formatting

    XMLWordPrintable

Details

    Description

      Summary

      When saving a page, the following error occurs:

      Oops - an error has occurred System Error

      Cause
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      caused by: java.lang.StackOverflowError
      at org.apache.xerces.dom.ElementImpl.synchronizeData(Unknown Source)

      Expected Results

      The page is able to be saved, without this exception, after an edit.

      Actual Results

      If you go to ... >> View Storage Format, the page will contain a lot of tags that are unnecessary and, in some cases, these tags aren't closed.

      <span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"><span style="color: rgb(0,0,0);"> <span style="color: rgb(0,0,0);"> <span> <span> <span> <span> <span> <span> <span> <span> <span>
      

      Workaround

      1. Copy the content of the page with error;
      2. Create a new page;
      3. On the new page editor, paste the content;
      4. Save.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rbueno Renata Bueno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: