javax.imageio.IIOException: No SOF segment in stream

GitHub | delkant | 4 months 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

    GitHub comment 278#272281609

    GitHub | 4 months ago | delkant
    javax.imageio.IIOException: No SOF segment in stream
  2. 0

    How to exclude specific TIFF reader from ImageIO?

    Stack Overflow | 10 months ago | mavarazy
    javax.imageio.IIOException: Invalid component ID 3 in SOS
  3. 0

    GitHub comment 67#58508283

    GitHub | 3 years ago | elijahiuu
    javax.imageio.IIOException: Not a JPEG file: starts with 0x4a 0x46
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TIFFImageReader: Invalid JPEG file structure: missing SOS marker

    GitHub | 10 months ago | PatrickRi
    javax.imageio.IIOException: Invalid JPEG file structure: missing SOS marker
  6. 0

    Inconsistent metadata read from stream

    GitHub | 5 months ago | FelixA
    javax.imageio.IIOException: Inconsistent metadata read from stream

    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. javax.imageio.IIOException

      No SOF segment in stream

      at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.getSOF()
    2. TwelveMonkeys :: ImageIO :: JPEG plugin
      JPEGImageReader.read
      1. com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.getSOF(JPEGImageReader.java:792)
      2. com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:364)
      2 frames
    3. com.github.jaiimageio
      TIFFImageReader.read
      1. com.github.jaiimageio.impl.plugins.tiff.TIFFOldJPEGDecompressor.decodeRaw(TIFFOldJPEGDecompressor.java:651)
      2. com.github.jaiimageio.plugins.tiff.TIFFDecompressor.decode(TIFFDecompressor.java:2583)
      3. com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.decodeTile(TIFFImageReader.java:1144)
      4. com.github.jaiimageio.impl.plugins.tiff.TIFFImageReader.read(TIFFImageReader.java:1414)
      4 frames
    4. com.xx.xx
      ImageUtil.tif2png
      1. com.xx.xx.service.util.xx.ImageUtil.tif2png(ImageUtil.java:81)
      1 frame