sun.awt.image.ImageFormatException: JPEG datastream contains no image

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 807606, 5 months ago
JPEG datastream contains no image
via Stack Overflow by TARUN TANMAY
, 2 months ago
via Coderanch by Wendy Gibbons, 1 year ago
JPEG datastream contains no image
via hivmr.com by Unknown author, 1 year ago
via Google Groups by Ike, 2 years ago
Invalid JPEG file structure: two SOF markers
via Oracle Community by 843799, 1 year ago
Invalid JPEG file structure: missing SOS marker
sun.awt.image.ImageFormatException: JPEG datastream contains no image
at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
at sun.awt.image.ImageFetcher.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
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.