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

ArrayIndexOutOfBoundsException when crawling email

    XMLWordPrintableJSON

Details

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

    Description

      DEBUG 2017-03-02 20:29:48,937 (Worker thread '1') - Email: Processing document identifier 'test:<CADNgPDgBOLCnK-mobXia_Af-m4Qmc3p4Mr+k=jgy6O3-nB5C7A@mail.gmail.com>'
      FATAL 2017-03-02 20:30:50,909 (Worker thread '1') - Error tossed: 1
      java.lang.ArrayIndexOutOfBoundsException: 1
      	at org.apache.manifoldcf.crawler.connectors.email.EmailConnector.processDocuments(EmailConnector.java:640)
      	at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:399)
      DEBUG 2017-03-02 20:30:56,816 (Worker thread '3') - Email: Processing document identifier 'test:<CADNgPDgBOLCnK-mobXia_Af-m4Qmc3p4Mr+k=jgy6O3-nB5C7A@mail.gmail.com>'
      ERROR 2017-03-02 20:34:02,184 (Seeding thread) - Email: Error finding emails: * BYE JavaMail Exception: java.net.SocketException: Connection reset
      javax.mail.MessagingException: * BYE JavaMail Exception: java.net.SocketException: Connection reset;
        nested exception is:
      	com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketException: Connection reset
      	at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:961)
      	at org.apache.manifoldcf.crawler.connectors.email.EmailSession.openFolder(EmailSession.java:99)
      	at org.apache.manifoldcf.crawler.connectors.email.EmailConnector$OpenFolderThread.run(EmailConnector.java:1820)
      Caused by: com.sun.mail.iap.ConnectionException: * BYE JavaMail Exception: java.net.SocketException: Connection reset
      	at com.sun.mail.iap.Protocol.handleResult(Protocol.java:356)
      	at com.sun.mail.imap.protocol.IMAPProtocol.examine(IMAPProtocol.java:886)
      	at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:925)
      	... 2 more
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: