Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ADEFE18582 for ; Thu, 26 Nov 2015 14:28:11 +0000 (UTC) Received: (qmail 72006 invoked by uid 500); 26 Nov 2015 14:28:11 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 71708 invoked by uid 500); 26 Nov 2015 14:28:11 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 71618 invoked by uid 99); 26 Nov 2015 14:28:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 14:28:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 195AD2C1F68 for ; Thu, 26 Nov 2015 14:28:11 +0000 (UTC) Date: Thu, 26 Nov 2015 14:28:11 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CONNECTORS-1260) Loop in emails processing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright updated CONNECTORS-1260: ------------------------------------ Attachment: CONNECTORS-1260.diff Fix for string-based bodies. > 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: '<044501d126bb$c91213c0$5b363b40$@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)