Excel Documents Throw Unable to construct record instance on Full Reindex
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
When running a full reindex some Excel documents throw this error in the atlassian-confluence.log
2016-09-26 14:41:59,203 WARN [Indexer: 4] [bonnie.search.extractor.BaseAttachmentContentExtractor] addFields Error indexing attachment (Attachment: document.xls v.1 (12345678) username)
-- url: /confluence/admin/reindex.action | traceId: b14e5a6e019c2cd5 | userName: admin | referer: https://confluence.mycompany.au/admin/search-indexes.action | action: reindex
org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance
診断
The Excel documents that throw this error are usually saved in an old format of Excel or with non-Office products such as Open Office.
原因
The format of these documents is not hanadled by the Lucence indexing engine.
ソリューション
To fix this issue please download the affected document and re-save it in a newer version of Excel and re-upload to Confluence.