com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x59 0x68

Coderanch | Manish Hatwalne | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Java image reading -- Help me rewrite this code

    Coderanch | 9 years ago | Manish Hatwalne
    com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x59 0x68
  2. 0

    Bug ID: JDK-4977007 JPEG Image Decoding questionable as a result of fixes for bugs 4836529, 4903659

    java.com | 2 years ago
    com.sun.image.codec.jpeg.ImageFormatException: Invalid JPEG file structure: two SOI markers
  3. 0

    capturing video from ip camera

    Stack Overflow | 5 years ago | Ruby
    com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0x0d 0x0a
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Help,ImageIO

    Google Groups | 1 decade ago | subhadip
    com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
  6. 0

    BUG in Java ImageIO,problem in JPEGImageDecoder,can't read or write image

    Google Groups | 1 decade ago | subhadip
    com.sun.image.codec.jpeg.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9

    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. com.sun.image.codec.jpeg.ImageFormatException

      Not a JPEG file: starts with 0x59 0x68

      at sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream()
    2. Java RT
      JPEGImageDecoderImpl.decodeAsBufferedImage
      1. sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
      2. sun.awt.image.codec.JPEGImageDecoderImpl.decodeAsBufferedImage(JPEGImageDecoderImpl.java:210)
      2 frames