You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Julien Massiera (JIRA)" <ji...@apache.org> on 2015/11/26 09:18:10 UTC

[jira] [Updated] (CONNECTORS-1260) Loop in emails processing

     [ https://issues.apache.org/jira/browse/CONNECTORS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Massiera updated CONNECTORS-1260:
----------------------------------------
    Affects Version/s: ManifoldCF 2.1
          Description: 
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: '<04...@francelabs.com>'
	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

  was:
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: '<04...@francelabs.com>'
	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


> 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
>            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: '<04...@francelabs.com>'
> 	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)