javax.activation.UnsupportedDataTypeException

no object DCH for MIME type text/plain; charset=us-ascii

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 web274

  • via Google Groups by Ökrös Péter, 1 year ago
    no object DCH for MIME type text/plain; charset=us-ascii
  • via Oracle Community by 843830, 1 year ago
    no object DCH for MIME type text/plain; charset= us-ascii
  • via Oracle Community by 843830, 1 year ago
    no object DCH for MIME type text/plain; charset=us-ascii
  • Stack trace

    • javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=us-ascii at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:851) at javax.activation.DataHandler.writeTo(DataHandler.java:305) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1147) at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1600) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:324) at javax.mail.Transport.send0(Transport.java:163) at javax.mail.Transport.send(Transport.java:80) at msgsendsample.main(msgsendsample.java:93)

    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
    Unknown user
    Once, 9 months ago