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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.16
    • 1.8.17
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: