Export With {toc} Causes NullPointerException

XMLWordPrintable

      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

        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

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

                Created:
                Updated:
                Resolved: