https://bz.apache.org/bugzilla/show_bug.cgi?id=58920
Bug ID: 58920
Summary: java.lang.IllegalArgumentException: Value for
parameter 'id' was out of bounds when parsing docx
Product: POI
Version: 3.13-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Created attachment 33491
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33491&action=edit
Problematic unparseable document
I have the exception
java.lang.IllegalArgumentException: Value for parameter 'id' was out of bounds
at org.apache.poi.util.IdentifierManager.reserve(IdentifierManager.java:80)
at org.apache.poi.xwpf.usermodel.XWPFRun.<init>(XWPFRun.java:111)
at org.apache.poi.xwpf.usermodel.XWPFRun.<init>(XWPFRun.java:156)
at
org.apache.poi.xwpf.usermodel.XWPFParagraph.buildRunsInOrderFromXml(XWPFParagraph.java:134)
at
org.apache.poi.xwpf.usermodel.XWPFParagraph.<init>(XWPFParagraph.java:87)
at
org.apache.poi.xwpf.usermodel.XWPFHeader.onDocumentRead(XWPFHeader.java:116)
at
org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:183)
at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:166)
at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:118)
at
org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:59)
at
org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:181)
at
org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:86)
... 99 more
when parsing the attached document with Tika, while using (according to its
POM) POI 3.13. It was created using LibreOffice.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]