[
https://issues.apache.org/jira/browse/CONNECTORS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028895#comment-15028895
]
Karl Wright commented on CONNECTORS-1260:
-----------------------------------------
Hi Julien,
One of these problems is straightforward to fix; it looks like the emails you
are fetching are simple text/plain, and that was not handled properly by the
connector. I've attached a patch for that.
The other problem is a bit of a mystery, since it wouldn't have anything to do
with the email connector at all, and would represent a general kind of problem
we should see in lots of other connectors. Still looking at that one to see
what it could possibly mean.
> Loop in emails processing
> -------------------------
>
> Key: CONNECTORS-1260
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1260
> Project: ManifoldCF
> Issue Type: Bug
> Components: Email connector
> Affects Versions: ManifoldCF 2.1
> Reporter: Julien Massiera
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.3
>
> Attachments: CONNECTORS-1260.diff
>
>
> I noticed a loop in the emails processing, the manifoldcf job runs
> indefinitely. There are two kinds of errors in the manifoldcf.log file:
> 1) Unrecognized document identifier:
> '<[email protected]>'
> at
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.computePipelineSpecificationWithVersions(WorkerThread.java:2084)
> at
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1503)
> at
> org.apache.manifoldcf.crawler.system.WorkerThread$ProcessActivity.ingestDocumentWithException(WorkerThread.java:1468)
> at
> org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:638)
> at
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:379)
> 2) 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:587)
> at
> org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:379)
> I tried to debug and understand what happens but I didn't find anything.
> Tested on gmail, ovh and windows.live, with IMAP protocol and the following
> job configuration:
> - Metadata: To, From, Subject, Body and Date
> - Filter: INBOX folder
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)