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 2020/03/18 16:52:00 UTC

[jira] [Commented] (PDFBOX-4799) isartor-6-2-2-t02-fail-a.pdf fails on jdk15 with ArrayIndexOutOfBoundsException

    [ https://issues.apache.org/jira/browse/PDFBOX-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061904#comment-17061904 ] 

ASF subversion and git services commented on PDFBOX-4799:
---------------------------------------------------------

Commit 1875372 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1875372 ]

PDFBOX-4799: avoid ArrayIndexOutOfBoundsException that happens on jdk15

> isartor-6-2-2-t02-fail-a.pdf fails on jdk15 with ArrayIndexOutOfBoundsException
> -------------------------------------------------------------------------------
>
>                 Key: PDFBOX-4799
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4799
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Preflight
>         Environment: jdk15
>            Reporter: Tilman Hausherr
>            Priority: Major
>              Labels: jdk15
>
> build test fails on jdk15:
> {noformat}
> [ERROR] Tests run: 289, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 29.524 s <<< FAILURE! - in org.apache.pdfbox.preflight.TestIsartorBavaria
> [ERROR] validate[target/pdfs/Isartor testsuite/PDFA-1b/6.2 Graphics/6.2.2 Output intent/isartor-6-2-2-t02-fail-a.pdf](org.apache.pdfbox.preflight.TestIsartorBavaria)  Time elapsed: 0.011 s  <<< ERROR!
> java.lang.ArrayIndexOutOfBoundsException: Index 36 out of bounds for length 1
> 	at org.apache.pdfbox.preflight.TestIsartorBavaria.validate(TestIsartorBavaria.java:177) {noformat}
> I can't test locally (I tried but there are other problems) so I'll make a change and commit to see if it works. I suspect that the ArrayIndexOutOfBoundsException happens when reading the ICC profile.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org