com.javahollic.jira.emh.service.InvalidDirectiveDataException

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

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web6

  • via Unknown by Sean Curley,
  • via Unknown by Ryan Wilcox,
  • via Unknown by Sean Curley,
  • 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.BasicMailProcessor.extractFieldsAndBody(BasicMailProcessor.java:48) 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

    We couldn't find other users who have seen this exception.