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

Export With {toc} Causes NullPointerException

    XMLWordPrintable

Details

    Description

      When exporting Page (that contains TOC macro) to Word, we get this message in the exported file:

      Error formatting macro: toc: java.lang.NullPointerException

      If we attempt to export the same page as a PDF, the resulting PDF file will have the proper table of contents.

      Please see attached screen short for better clarification.

      http://developer.atlassian.com/jira/browse/TOC-75

      Attachments

        1. export2word.jpg
          export2word.jpg
          76 kB
        2. Export-Fine-PDF.jpg
          Export-Fine-PDF.jpg
          37 kB
        3. RTF Export error.PNG
          RTF Export error.PNG
          13 kB
        4. Wiki-Content.jpg
          Wiki-Content.jpg
          41 kB

        Issue Links

          Activity

            People

              alynch Andrew Lynch (Inactive)
              fng Fennie Ng [Atlassian]
              Votes:
              15 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: