[
https://issues.apache.org/jira/browse/PDFBOX-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061986#comment-17061986
]
ASF subversion and git services commented on PDFBOX-4799:
---------------------------------------------------------
Commit 1875384 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1875384 ]
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 on ubuntu at apache
> 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: [email protected]
For additional commands, e-mail: [email protected]