Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4799

isartor-6-2-2-t02-fail-a.pdf fails on jdk15 with ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.19, 3.0.0 PDFBox
    • 2.0.20, 3.0.0 PDFBox
    • Preflight
    • jdk15 on ubuntu at apache

    Description

      build test fails on jdk15:

      [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) 

      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.

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: