Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291209

Error reading PNG metadata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 11-pool
    • 11.0.16
    • client-libs

      Works on java version "1.8.0_20" and java version "1.8.0_201" and openjdk version "18" 2022-03-22
      Fails on openjdk version "11.0.16" 2022-07-19

      com.sun.imageio.plugins.png.PNGImageReader
      Exception in thread "main" javax.imageio.IIOException: Error reading PNG metadata
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:894)
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1397)
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1819)
      at ImageIOTest3.main(ImageIOTest3.java:23)
      Caused by: javax.imageio.IIOException: Invalid chunk length 0
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:768)
      ... 3 more

            serb Sergey Bylokhov
            ssteiner Simon Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: