[
https://issues.apache.org/jira/browse/CONNECTORS-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Wright resolved CONNECTORS-1394.
-------------------------------------
Resolution: Fixed
r1785489.
I didn't commit the patch as uploaded since it would have sent null values to
the output connector. Instead I force attachments that have no filename to
have a type of empty string.
> ArrayIndexOutOfBoundsException when crawling email
> --------------------------------------------------
>
> Key: CONNECTORS-1394
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1394
> Project: ManifoldCF
> Issue Type: Bug
> Components: Email connector
> Affects Versions: ManifoldCF 2.6
> Reporter: Cihad Guzel
> Assignee: Karl Wright
> Fix For: ManifoldCF 2.7
>
>
> {code}
> DEBUG 2017-03-02 20:29:48,937 (Worker thread '1') - Email: Processing
> document identifier
> 'test:<CADNgPDgBOLCnK-mobXia_Af-m4Qmc3p4Mr+k=jgy6o3-nb5...@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-nb5...@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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)