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/12/13 21:44:58 UTC

[jira] [Created] (TIKA-2206) RecordFormatException on a valid Excel file

Seva Alekseyev created TIKA-2206:
------------------------------------

             Summary: RecordFormatException on a valid Excel file
                 Key: TIKA-2206
                 URL: https://issues.apache.org/jira/browse/TIKA-2206
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.14
         Environment: Windows 7 x64, JVM 1.8.0_101
            Reporter: Seva Alekseyev


The attached file, which opens fine in Excel, errors out in Tika:

org.apache.poi.hssf.record.RecordFormatException for 63773/<\\ai-storm\FScan\Scan_2016-12-11_11-14-13\Folders\70664525\Budget_storyboard_V2_06282013.xls>: "Leftover 3 bytes in subrecord data [15, 00, 12, 00, 12, 00, 3E, 00, 11, 20, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 0C, 00, 14, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 04, 00, 00, 00, 10, 00, 01, 00, 13, 00, EE, 1F, 12, 00, 0B, 00, 00, 00, 00, 00, 3B, 00, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 18, 00, 00, 00, 00, 01, 00]"
org.apache.poi.hssf.record.RecordFormatException: Leftover 3 bytes in subrecord data [15, 00, 12, 00, 12, 00, 3E, 00, 11, 20, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 0C, 00, 14, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 01, 00, 04, 00, 00, 00, 10, 00, 01, 00, 13, 00, EE, 1F, 12, 00, 0B, 00, 00, 00, 00, 00, 3B, 00, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 03, 00, 00, 00, 18, 00, 00, 00, 00, 01, 00]
	at org.apache.poi.hssf.record.ObjRecord.<init>:108
	at sun.reflect.GeneratedConstructorAccessor14.newInstance:-1
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance:-1
	at java.lang.reflect.Constructor.newInstance:-1
	at org.apache.poi.hssf.record.RecordFactory$ReflectionConstructorRecordCreator.create:84
	at org.apache.poi.hssf.record.RecordFactory.createSingleRecord:345
	at org.apache.poi.hssf.record.RecordFactoryInputStream.readNextRecord:307
	at org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord:273
	at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.genericProcessEvents:175
	at org.apache.poi.hssf.eventusermodel.HSSFEventFactory.processEvents:136
	at org.apache.tika.parser.microsoft.ExcelExtractor$TikaHSSFListener.processFile:312
	at org.apache.tika.parser.microsoft.ExcelExtractor.parse:169
	at org.apache.tika.parser.microsoft.OfficeParser.parse:177
	at org.apache.tika.parser.microsoft.OfficeParser.parse:130




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)