java.lang.ClassCastException

java.io.ByteArrayInputStream

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • Stack trace

    • java.lang.ClassCastException: java.io.ByteArrayInputStream at com.sun.xml.messaging.saaj.soap.JpegDataContentHandler.writeTo(JpegDataContentHandler.java:125) at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:849) at javax.activation.DataHandler.writeTo(DataHandler.java:305) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1089) at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:635) at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:233) at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:372)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.