You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/12/05 17:42:00 UTC
[jira] [Commented] (PDFBOX-4027) IndexOutOfBoundsException when
XObject form matrix has only 5 elements
[ https://issues.apache.org/jira/browse/PDFBOX-4027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278927#comment-16278927 ]
ASF subversion and git services commented on PDFBOX-4027:
---------------------------------------------------------
Commit 1817221 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1817221 ]
PDFBOX-4027: ignore matrix if not COSArray with 6 elements
> 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: 2.0.8
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 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 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org