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

Loop in emails processing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: ManifoldCF 2.1
    • Fix Version/s: ManifoldCF 2.3
    • Component/s: Email connector
    • Labels:
      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

        1. CONNECTORS-1260.diff
          3 kB
          Karl Wright

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: