You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Seva Alekseyev (JIRA)" <ji...@apache.org> on 2016/10/20 17:35:58 UTC
[jira] [Created] (TIKA-2138) RecordFormatException on a valid Excel
file
Seva Alekseyev created TIKA-2138:
------------------------------------
Summary: RecordFormatException on a valid Excel file
Key: TIKA-2138
URL: https://issues.apache.org/jira/browse/TIKA-2138
Project: Tika
Issue Type: Bug
Components: parser
Affects Versions: 1.13
Environment: Windows 7 x64, JVM 1.8.0_101
Reporter: Seva Alekseyev
On the attached file, which opens fine in Excel, the Tika parser throws the following error:
org.apache.poi.hssf.record.RecordFormatException: Expected data size (112) but got (114)
at org.apache.poi.hssf.record.WriteAccessRecord.<init>(WriteAccessRecord.java:53)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.poi.hssf.record.RecordFactory$ReflectionConstructorRecordCreator.create(RecordFactory.java:84)
at org.apache.poi.hssf.record.RecordFactory.createSingleRecord(RecordFactory.java:334)
at org.apache.poi.hssf.record.RecordFactoryInputStream$StreamEncryptionInfo.<init>(RecordFactoryInputStream.java:72)
at org.apache.poi.hssf.record.RecordFactoryInputStream.<init>(RecordFactoryInputStream.java:205)
at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents(HSSFEventFactory.java:151)
at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents(HSSFEventFactory.java:118)
at org.apache.tika.parser.microsoft.ExcelExtractor$TikaHSSFListener.processFile(ExcelExtractor.java:309)
at org.apache.tika.parser.microsoft.ExcelExtractor.parse(ExcelExtractor.java:169)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:154)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)