You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Sharath Kumar (JIRA)" <ji...@apache.org> on 2017/02/02 06:56:52 UTC
[jira] [Updated] (TIKA-2258) Unable to parse .pub files
-java.lang.ArrayIndexOutOfBoundsException: 88
[ https://issues.apache.org/jira/browse/TIKA-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sharath Kumar updated TIKA-2258:
--------------------------------
Attachment: Roc.pub
Test document which can be used to replicate the error
> 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
> Attachments: Roc.pub
>
>
> 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)