java.lang.IllegalStateException: Can't overwrite cause

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 geronimo-user by darvs, 1 year ago
via geronimo-user by darvs, 1 year ago
via nabble.com by Unknown author, 1 year ago
via Google Groups by Maverick, 3 months ago
java.lang.IllegalStateException: Can't overwrite cause
at java.lang.Throwable.initCause(Throwable.java:320)
at javax.mail.MessagingException.setNextException(MessagingException.java:51)
at javax.mail.Transport.send(Transport.java:109)
at javax.mail.Transport.send(Transport.java:48)
at com.infotek.fwk.ejbmail.MailService.sendMail(MailService.java:190)
at com.infotek.fwk.ejbmail.MailService.onMessage(MailService.java:50)

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

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