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

Email processing multipart casting problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 2.6
    • ManifoldCF 2.7
    • Email connector
    • None

    Description

      I try email connector with exchange server 2013. I have some errors.

      If I select the "Encoding of Attachment" from metadata tab of email connector:

      DEBUG 2017-03-08 19:31:13,646 (Worker thread '1') - Email: Processing document identifier 'INBOX:<6bc4ff202f884bc396aab70cdfd01eb7@EXCHANGE.mydomain.com>'
      FATAL 2017-03-08 19:31:18,243 (Worker thread '1') - 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:631)
      	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
      

      If I select the "MIME type of attachment" from metadata tab of email connector:

      DEBUG 2017-03-08 19:37:40,026 (Worker thread '40') - Email: Processing document identifier 'INBOX:<173298b91b9f4d439aeb14169b306553@EXCHANGE..mydomain.com>'
      FATAL 2017-03-08 19:37:40,633 (Worker thread '30') - 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:651)
      	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
      

      I saw similar issue : https://issues.apache.org/jira/browse/CONNECTORS-1260

      Attachments

        1. CONNECTORS-1396.patch
          5 kB
          Karl Wright

        Issue Links

          Activity

            People

              kwright@metacarta.com Karl Wright
              cguzel Cihad Guzel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: