javax.imageio.IIOException: Error reading PNG metadata

pdfbox-users | Andreas Lehmkuehler | 5 years ago
  1. 0

    Re: FW: Need Solution to Add Image file in PDF with PDFBox

    pdfbox-users | 5 years ago | Andreas Lehmkuehler
    javax.imageio.IIOException: Error reading PNG metadata
  2. 0

    Re: FW: Need Solution to Add Image file in PDF with PDFBox

    pdfbox-users | 5 years ago | Andreas Lehmkuehler
    javax.imageio.IIOException: Error reading PNG metadata
  3. 0

    Reading picture from byte array

    Stack Overflow | 3 years ago | Edison
    javax.imageio.IIOException: Error reading PNG image data at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
  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!

  1. serious2monkeys 3 times, last 3 months ago
  2. rexgreenza 10 times, last 4 months ago
  3. ptrstovka 2 times, last 9 months ago
16 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.io.UTFDataFormatException

    malformed input around byte 785

    at java.io.DataInputStream.readUTF()
  2. Java RT
    ImageIO.read
    1. java.io.DataInputStream.readUTF(DataInputStream.java:612)
    2. javax.imageio.stream.ImageInputStreamImpl.readUTF(ImageInputStreamImpl.java:309)
    3. com.sun.imageio.plugins.png.PNGImageReader.parse_iTXt_chunk(PNGImageReader.java:443)
    4. com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:652)
    5. com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1314)
    6. com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1601)
    7. javax.imageio.ImageIO.read(ImageIO.java:1400)
    8. javax.imageio.ImageIO.read(ImageIO.java:1286)
    8 frames
  3. org.apache.pdfbox
    AddImageToPDF.main
    1. org.apache.pdfbox.examples.pdmodel.AddImageToPDF.createPDFFromImage(AddImageToPDF.java:84)
    2. org.apache.pdfbox.examples.pdmodel.AddImageToPDF.main(AddImageToPDF.java:127)
    2 frames