java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String

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 Operations, 1 year ago
com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
via JIRA by Operations, 1 year ago
com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
via JIRA by Andy Brook, 1 year ago
via JIRA by Andy Brook, 1 year ago
via JIRA by Vladimir Korobov, 1 year ago
javax.mail.util.SharedByteArrayInputStream cannot be cast to javax.mail.internet.MimeMultipart
java.lang.ClassCastException: com.sun.mail.util.QPDecoderStream cannot be cast to java.lang.String
at com.javahollic.jira.emh.engine.support.EMHMailUtils.getBodyImpl(EMHMailUtils.java:1125)
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:932)
at com.javahollic.jira.emh.service.EnterpriseMessageHandlerImpl.handleMessage(EnterpriseMessageHandlerImpl.java:275)
at com.javahollic.jira.emh.service.reprocessing.AuditHistoryNecromancer.reanimate(AuditHistoryNecromancer.java:85)
at com.javahollic.jira.emh.service.DefaultJEMHAuditHistoryReprocessingManager.reanimate(DefaultJEMHAuditHistoryReprocessingManager.java:231)
at com.javahollic.jira.emh.rest.api.auditing.Auditing.doReanimate(Auditing.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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