https://bz.apache.org/bugzilla/show_bug.cgi?id=60685
Bug ID: 60685 Summary: Unable to parse .pub files -java.lang.ArrayIndexOutOfBoundsException: 88 Product: POI Version: unspecified Hardware: PC Status: NEW Severity: normal Priority: P2 Component: POI Overall Assignee: dev@poi.apache.org Reporter: sharathkuma...@gmail.com Target Milestone: --- Created attachment 34710 --> https://bz.apache.org/bugzilla/attachment.cgi?id=34710&action=edit test document 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 -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org