javax.imageio.IIOException: Error reading PNG image data

JDK Bug System | Ting-Yun Ingrid Yao | 5 years ago
  1. 0
  2. 0
  3. 0

    Java IIOException caused by ZipException while trying to convert from String to PNG

    Stack Overflow | 2 years ago | ocramot
    javax.imageio.IIOException: Error reading PNG image data
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to display BufferedImage using JPanel

    Oracle Community | 1 decade ago | 843804
    javax.imageio.IIOException: Can't get input stream from URL!
  6. 0

    Image Blender is failing to load the OverlayHook.png

    GitHub | 2 years ago | lordoku
    javax.imageio.IIOException: Can't read input file!

  1. serious2monkeys 3 times, last 2 months ago
  2. rexgreenza 10 times, last 3 months ago
  3. ptrstovka 2 times, last 8 months ago
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.zip.ZipException

    invalid distance too far back

    at java.util.zip.InflaterInputStream.read()
  2. Java RT
    ImageIO.read
    1. java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
    2. java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    3. java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    4. java.io.FilterInputStream.read(FilterInputStream.java:83)
    5. com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1085)
    6. com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1196)
    7. com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1301)
    8. com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1577)
    9. javax.imageio.ImageIO.read(ImageIO.java:1448)
    10. javax.imageio.ImageIO.read(ImageIO.java:1352)
    10 frames
  3. Unknown
    TestImageIO.main
    1. TestImageIO.main(TestImageIO.java:10)
    1 frame