Weird Logging on Confluence Start Up - Found a TextHeaderAtom not followed by a TextBytesAtom or TextCharsAtom
On start up or after a Confluence reindex, the
atlassian-confluence.log contains the following warnings:
Found a TextHeaderAtom not followed by a TextBytesAtom or TextCharsAtom: Followed by 3999
The warning is thrown when Confluence tries to index a non-standard Power Point file. It does not cause any issues in Confluence.
More detailed explanation
The warning is generated by a third party library (Apache's POI) used by Confluence to parse Microsoft documents. The library tries to parse a non-standard Power Point file that has a broken formatting (not visible when one opens it using Microsoft Office) and as a result it reported the issue in the log file as a warning.
Specifically, the POI library is expecting to retrieve either a
TextCharsAtom but instead it retrieves another TextHeaderAtom (element number 3999).
- Remove the power point file from the page that is causing the warning.
- Fix the Power Point file by opening it in Microsoft Office and choosing
Save As, to save it into the same file.
- Re-attach the file to the original page.