[
https://issues.apache.org/jira/browse/CONNECTORS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Wright resolved CONNECTORS-1260.
-------------------------------------
Resolution: Fixed
Found the problem with the second issue; the wrong id was being used throughout.
Fixed in trunk; r1716705.
> 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)