tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seva Alekseyev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2206) RecordFormatException on a valid Excel file
Date Tue, 13 Dec 2016 21:44:58 GMT
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)

Mime
View raw message