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

Oracle Community | 807581 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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