javax.imageio.IIOException: Bogus marker length

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JDK Bug System by Praveen Mohan, 1 year ago
Bogus marker length
via GitHub by PatrickRi
, 1 year ago
Invalid JPEG file structure: missing SOS marker
javax.imageio.IIOException: Bogus marker length
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(
at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(
at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(
at undefined.JPGReaderReadAllTest.(
at undefined.JPGReaderReadAllTest.main(

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
8 times, 1 month ago
2 times, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago

Write tip

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