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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 843836, 6 months ago
Bad endianness tag (not 0x4949 or 0x4d4d).
via Coderanch by imran Faruqui, 1 year ago
Bad endianness tag (not 0x4949 or 0x4d4d).
via Oracle Community by 807581, 1 year ago
Bad endianness tag (not 0x4949 or 0x4d4d).
via Stack Overflow by Shreyas Dave
, 1 year ago
Bad endianness tag (not 0x4949 or 0x4d4d).
via Coderanch by holger Hahn, 1 year ago
Bad endianness tag (not 0x4949 or 0x4d4d).
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 undefined.ConvTifJpg.(ConvTifJpg.java:36)
at undefined.ConvTifJpg.main(ConvTifJpg.java:24)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.