tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharath Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2258) Unable to parse .pub files -java.lang.ArrayIndexOutOfBoundsException: 88
Date Thu, 02 Feb 2017 06:55:51 GMT
Sharath Kumar created TIKA-2258:
-----------------------------------

             Summary: Unable to parse .pub files -java.lang.ArrayIndexOutOfBoundsException:
88
                 Key: TIKA-2258
                 URL: https://issues.apache.org/jira/browse/TIKA-2258
             Project: Tika
          Issue Type: Bug
          Components: core, parser
    Affects Versions: 1.13
         Environment: Windows 7
            Reporter: Sharath Kumar


When i try to parse the attached .pub file, it fails with the below exception 

Caused by: java.lang.ArrayIndexOutOfBoundsException: 88
	at org.apache.poi.util.LittleEndian.getUShort(LittleEndian.java:343)
	at org.apache.poi.hpbf.model.qcbits.QCPLCBit$Type12.<init>(QCPLCBit.java:215)
	at org.apache.poi.hpbf.model.qcbits.QCPLCBit$Type12.<init>(QCPLCBit.java:176)
	at org.apache.poi.hpbf.model.qcbits.QCPLCBit.createQCPLCBit(QCPLCBit.java:90)
	at org.apache.poi.hpbf.model.QuillContents.<init>(QuillContents.java:71)
	at org.apache.poi.hpbf.HPBFDocument.<init>(HPBFDocument.java:67)
	at org.apache.poi.hpbf.extractor.PublisherTextExtractor.<init>(PublisherTextExtractor.java:45)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:141)
	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
	... 28 more



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message