com.javahollic.jira.emh.service.InvalidDirectiveDataException

java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart

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 web22

  • via JIRA by Ryan Wilcox, 11 months ago
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart
  • via JIRA by Ryan Wilcox, 1 year ago
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart
  • via JIRA by Rob Parrott, 1 year ago
    java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart
  • Stack trace

    • com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:497) at com.javahollic.jira.emh.service.EMHIssueHandler.handleMessage(EMHIssueHandler.java:125) at com.javahollic.jira.emh.service.CreateOrCommentHandler.handleMessage(CreateOrCommentHandler.java:67) at com.atlassian.jira.service.services.mail.MailFetcherService.run(MailFetcherService.java:189) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:67) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516) Caused by: com.javahollic.jira.emh.service.InvalidDirectiveDataException: java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:119) at com.javahollic.jira.emh.processor.AtPrefixedFieldProcessor.extractFieldsAndBody(AtPrefixedFieldProcessor.java:257) at com.javahollic.jira.emh.service.EMHIssueHandler.runProcessor(EMHIssueHandler.java:279) ... 7 more Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.internet.MimeMultipart at com.javahollic.jira.emh.engine.EMHMailUtils.getAttachments(EMHMailUtils.java:160) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixupAttachments(AbstractFieldProcessorHelper.java:413) at com.javahollic.jira.emh.engine.AbstractFieldProcessorHelper.fixup(AbstractFieldProcessorHelper.java:104) ... 9 more

    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

    You’re the first here who have seen this exception.