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 14:18:58 UTC
[jira] [Created] (TIKA-2131) NegativeArraySizeException on a valid
Word file
Seva Alekseyev created TIKA-2131:
------------------------------------
Summary: NegativeArraySizeException on a valid Word file
Key: TIKA-2131
URL: https://issues.apache.org/jira/browse/TIKA-2131
Project: Tika
Issue Type: Bug
Components: parser
Environment: Windows 7 x64, JVM 1.8.0_101
Reporter: Seva Alekseyev
Attachments: HHSN272201000027C.doc
On the attached DOC file, which Word reads and displays fine, the Tika parser throws the following error:
java.lang.NegativeArraySizeException
at org.apache.poi.ddf.UnknownEscherRecord.fillFields(UnknownEscherRecord.java:75)
at org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:78)
at org.apache.poi.hwpf.model.PICFAndOfficeArtData.<init>(PICFAndOfficeArtData.java:61)
at org.apache.poi.hwpf.usermodel.Picture.<init>(Picture.java:135)
at org.apache.poi.hwpf.model.PicturesTable.extractPicture(PicturesTable.java:162)
at org.apache.poi.hwpf.model.PicturesTable.getAllPictures(PicturesTable.java:233)
at org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:656)
at org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:654)
at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:157)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:146)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)