java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d).

Oracle Community | 807581 | 1 decade 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

    Problem with TIFF

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d).

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Bad endianness tag (not 0x4949 or 0x4d4d).

      at com.sun.media.jai.codec.TIFFDirectory.getNumDirectories()
    2. com.sun.media
      ImageDecoderImpl.decodeAsRenderedImage
      1. com.sun.media.jai.codec.TIFFDirectory.getNumDirectories(TIFFDirectory.java:588)
      2. com.sun.media.jai.codecimpl.TIFFImageDecoder.getNumPages(TIFFImageDecoder.java:105)
      3. com.sun.media.jai.codecimpl.TIFFImageDecoder.decodeAsRenderedImage(TIFFImageDecoder.java:109)
      4. com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:148)
      4 frames