[
https://issues.apache.org/jira/browse/PDFBOX-4027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-4027.
-------------------------------------
Resolution: Fixed
> IndexOutOfBoundsException when XObject form matrix has only 5 elements
> ----------------------------------------------------------------------
>
> Key: PDFBOX-4027
> URL: https://issues.apache.org/jira/browse/PDFBOX-4027
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.8.13, 2.0.8
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 1.8.14, 2.0.9, 3.0.0 PDFBox
>
>
> {code}
> java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
> java.util.ArrayList.rangeCheck(Unknown Source)
> java.util.ArrayList.get(Unknown Source)
> org.apache.pdfbox.cos.COSArray.get(COSArray.java:210)
> org.apache.pdfbox.util.Matrix.<init>(Matrix.java:65)
>
> org.apache.pdfbox.pdmodel.graphics.form.PDFormXObject.getMatrix(PDFormXObject.java:218)
>
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:466)
>
> org.apache.pdfbox.contentstream.PDFStreamEngine.showForm(PDFStreamEngine.java:185)
> {code}
> The file has this "matrix": {{/Matrix\[ 0 0 5805.68 0 0]}}
> The XObject form has an empty stream.
> The file produced by "Microsoft® Excel® 2010". I cannot share it.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]