Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E1DA0200C2D for ; Sat, 4 Mar 2017 14:12:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E08BF160B71; Sat, 4 Mar 2017 13:12:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 374CB160B66 for ; Sat, 4 Mar 2017 14:12:04 +0100 (CET) Received: (qmail 17329 invoked by uid 500); 4 Mar 2017 13:12:01 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 17275 invoked by uid 99); 4 Mar 2017 13:11:52 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Mar 2017 13:11:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7326AC0B7C for ; Sat, 4 Mar 2017 13:11:51 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.546 X-Spam-Level: X-Spam-Status: No, score=-1.546 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5tW4bgbbOb8z for ; Sat, 4 Mar 2017 13:11:50 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4C3285F253 for ; Sat, 4 Mar 2017 13:11:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EE08EE02BE for ; Sat, 4 Mar 2017 13:11:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 40CBC2415C for ; Sat, 4 Mar 2017 13:11:45 +0000 (UTC) Date: Sat, 4 Mar 2017 13:11:45 +0000 (UTC) From: "Cihad Guzel (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1394) ArrayIndexOutOfBoundsException when crawling email MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 04 Mar 2017 13:12:05 -0000 [ https://issues.apache.org/jira/browse/CONNECTORS-1394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15895668#comment-15895668 ] Cihad Guzel commented on CONNECTORS-1394: ----------------------------------------- I have created a PR from github: https://github.com/apache/manifoldcf/pull/18 > 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 > Fix For: ManifoldCF 2.7 > > > {code} > DEBUG 2017-03-02 20:29:48,937 (Worker thread '1') - Email: Processing document identifier 'test:' > 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:' > 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)