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 JIRA by Andy Brook, 1 year ago
javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.internet.MimeMultipart
via JIRA by Andy Brook, 2 years ago
javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.internet.MimeMultipart
via JIRA by Operations, 1 year ago
com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
via JIRA by Operations, 2 years ago
com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
via JIRA by Vladimir Korobov, 2 years ago
javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.internet.MimeMultipart
java.lang.ClassCastException: javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.internet.MimeMultipart	at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl(EMHMailUtils.java:1137)	at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:1000)	at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBody(EMHMailUtils.java:994)	at com.javahollic.jira.emh.module.msgfilter.CommentCountOrSizeFilter.filter(CommentCountOrSizeFilter.java:53)	at com.javahollic.jira.emh.service.FilterManager.applyFilters(FilterManager.java:60)	at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.setupHandlerAndFilters(EnterpriseMessageHandlerImpl.java:873)	at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:239)	at com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85)	at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231)