Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1260

Loop in emails processing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.1
    • ManifoldCF 2.3
    • Email connector
    • None

    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: '<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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kwright@metacarta.com Karl Wright
            julienFL Julien Massiera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment