java.io.UTFDataFormatException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: FW: Need Solution to Add Image file in PDF with PDFBox
    via by Andreas Lehmkuehler,
  • Re: FW: Need Solution to Add Image file in PDF with PDFBox
    via by Andreas Lehmkuehler,
  • malformed input around byte 2
    via GitHub by liquidox
    ,
  • crash when loading world
    via GitHub by bigpodgurc
    ,
    • java.io.UTFDataFormatException: malformed input around byte 785 at java.io.DataInputStream.readUTF(DataInputStream.java:612) at javax.imageio.stream.ImageInputStreamImpl.readUTF(ImageInputStreamImpl.java:309) at com.sun.imageio.plugins.png.PNGImageReader.parse_iTXt_chunk(PNGImageReader.java:443) at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:652) at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1314) at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1601) at javax.imageio.ImageIO.read(ImageIO.java:1400) at javax.imageio.ImageIO.read(ImageIO.java:1286) at org.apache.pdfbox.examples.pdmodel.AddImageToPDF.createPDFFromImage(AddImageToPDF.java:84) at org.apache.pdfbox.examples.pdmodel.AddImageToPDF.main(AddImageToPDF.java:127)

    Users with the same issue

    Unknown visitor2 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates