You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Furkan KAMACI (JIRA)" <ji...@apache.org> on 2017/03/09 16:59:38 UTC
[jira] [Commented] (CONNECTORS-1396) Email processing multipart
casting problem
[ https://issues.apache.org/jira/browse/CONNECTORS-1396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903389#comment-15903389 ]
Furkan KAMACI commented on CONNECTORS-1396:
-------------------------------------------
[~cguzel] Do you get that error for all e-mails or e-mails which has attachment(s)?
> Email processing multipart casting problem
> ------------------------------------------
>
> Key: CONNECTORS-1396
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1396
> Project: ManifoldCF
> Issue Type: Bug
> Components: Email connector
> Affects Versions: ManifoldCF 2.6
> Reporter: Cihad Guzel
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.7
>
> Attachments: CONNECTORS-1396.patch
>
>
> I try email connector with exchange server 2013. I have some errors.
> If I select the "Encoding of Attachment" from metadata tab of email connector:
> {code}
> DEBUG 2017-03-08 19:31:13,646 (Worker thread '1') - Email: Processing document identifier 'INBOX:<6b...@EXCHANGE.mydomain.com>'
> FATAL 2017-03-08 19:31:18,243 (Worker thread '1') - Error tossed: java.lang.String cannot be cast to javax.mail.Multipart
> java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.Multipart
> at org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:631)
> at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
> {code}
> If I select the "MIME type of attachment" from metadata tab of email connector:
> {code}
> DEBUG 2017-03-08 19:37:40,026 (Worker thread '40') - Email: Processing document identifier 'INBOX:<17...@EXCHANGE..mydomain.com>'
> FATAL 2017-03-08 19:37:40,633 (Worker thread '30') - Error tossed: java.lang.String cannot be cast to javax.mail.Multipart
> java.lang.ClassCastException: java.lang.String cannot be cast to javax.mail.Multipart
> at org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:651)
> at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
> {code}
> I saw similar issue : https://issues.apache.org/jira/browse/CONNECTORS-1260
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)