Julien Massiera created CONNECTORS-1260:
-------------------------------------------

             Summary: Loop in emails processing
                 Key: CONNECTORS-1260
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1260
             Project: ManifoldCF
          Issue Type: Bug
          Components: Email connector
            Reporter: Julien Massiera
            Priority: Minor


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 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)

Reply via email to