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

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

    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