javax.imageio.IIOException: No SOF segment in stream

GitHub | delkant | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 278#272281609

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

    How to exclude specific TIFF reader from ImageIO?

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

    GitHub comment 67#58508283

    GitHub | 2 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 | 8 months ago | PatrickRi
    javax.imageio.IIOException: Invalid JPEG file structure: missing SOS marker
  6. 0

    Inconsistent metadata read from stream

    GitHub | 3 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