java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web16028

  • via Oracle Community by 843836, 1 week ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • via Oracle Community by 807581, 1 year ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • via Coderanch by holger Hahn, 8 months ago
    Bad endianness tag (not 0x4949 or 0x4d4d).
  • Stack trace

    • java.lang.IllegalArgumentException: Bad endianness tag (not 0x4949 or 0x4d4d). at com.sun.media.jai.codec.TIFFDirectory.getNumDirectories(TIFFDirectory.java:588) at com.sun.media.jai.codecimpl.TIFFImageDecoder.getNumPages(TIFFImageDecoder.java:105) at com.sun.media.jai.codecimpl.TIFFImageDecoder.decodeAsRenderedImage(TIFFImageDecoder.java:109) at com.sun.media.jai.codec.ImageDecoderImpl.decodeAsRenderedImage(ImageDecoderImpl.java:148)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago