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

Build test failure on OpenJDK "Invalid argument to native writeImage"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.16
    • Fix Version/s: 1.8.17
    • Component/s: None
    • Labels:

      Description

      These happened suddenly, so I guess the jdk was updated. Tests that fail are

       

      testCreateJpegINT_ARGB and testCreateJpeg4BYTE_ABGR

       

      javax.imageio.IIOException: Invalid argument to native writeImage
      	at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method)
      	at com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1067)
      	at com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:363)
      	at org.apache.pdfbox.util.ImageIOUtil.writeImage(ImageIOUtil.java:268)
      	at org.apache.pdfbox.util.ImageIOUtil.writeImage(ImageIOUtil.java:156)
      	at org.apache.pdfbox.util.ImageIOUtil.writeImage(ImageIOUtil.java:138)
      	at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpegTest.validate(PDJpegTest.java:349)
      	at org.apache.pdfbox.pdmodel.graphics.xobject.PDJpegTest.testCreateJpegINT_ARGB(PDJpegTest.java:236) 

      may be related to PDFBOX-2453

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: