javax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/jpg

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 Oracle Community by 807553, 1 year ago
via Oracle Community by 843834, 1 year ago
via hivmr.com by Unknown author, 1 year ago
via Oracle Community by 843834, 1 year ago
no object DCH for MIME type application/octet-stream
via GitHub by GoogleCodeExporter
, 2 years ago
no object DCH for MIME type application/atom+xml
via GitHub by GoogleCodeExporter
, 2 years ago
no object DCH for MIME type application/atom+xml
javax.activation.UnsupportedDataTypeException: no object DCH for MIME type image/jpg
at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851)
at javax.activation.DataHandler.writeTo(DataHandler.java:305)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1021)
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:571)
at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:226)
at com.sun.xml.messaging.soap.MessageImpl.saveChanges(MessageImpl.java:372)
at undefined.Request.run(Request.java:198)

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

Write tip

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