https://issues.apache.org/bugzilla/show_bug.cgi?id=56392

--- Comment #5 from Josef Procházka <[email protected]> ---
I am experiencing this error as well. It is caused by docx files created or
resaved by Libre Office 4.2.3.3 420m0(Build:3) (3.13.0-29-generic #53-Ubuntu
SMP Wed Jun 4 21:00:20 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux)

I have attached a file that caused the problem. 



stack trace

[Request processing failed; nested exception is
java.lang.IllegalArgumentException: Value for parameter 'id' was out of bounds]
with root cause
 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:107)
    at org.apache.poi.xwpf.usermodel.XWPFRun.<init>(XWPFRun.java:146)
    at
org.apache.poi.xwpf.usermodel.XWPFParagraph.buildRunsInOrderFromXml(XWPFParagraph.java:135)
    at
org.apache.poi.xwpf.usermodel.XWPFParagraph.<init>(XWPFParagraph.java:88)
    at
org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:147)
    at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:159)
    at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:124)

I am instantiating XWPFDocument  thi sway

        try (FileInputStream fis = new FileInputStream(inputFilename)) {
            doc = new XWPFDocument(fis);
        }

-- 
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]

Reply via email to