Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 3768 invoked from network); 21 Aug 2009 11:17:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 11:17:15 -0000 Received: (qmail 26776 invoked by uid 500); 21 Aug 2009 11:17:37 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 26689 invoked by uid 500); 21 Aug 2009 11:17:37 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 26681 invoked by uid 99); 21 Aug 2009 11:17:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 11:17:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 11:17:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EC30B234C1EB for ; Fri, 21 Aug 2009 04:17:14 -0700 (PDT) Message-ID: <638096398.1250853434966.JavaMail.jira@brutus> Date: Fri, 21 Aug 2009 04:17:14 -0700 (PDT) From: "Rick McGuire (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-4611) Exchange IMAP problem In-Reply-To: <1842081831.1238663532993.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire resolved GERONIMO-4611. ------------------------------------ Resolution: Fixed I never got a response back, but I believe this fix to be the correct one, so I'm committing it. Committed revision 806497. > Exchange IMAP problem > --------------------- > > Key: GERONIMO-4611 > URL: https://issues.apache.org/jira/browse/GERONIMO-4611 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: mail > Environment: Linux, apache-servicemix 4.0.0, geronimo-javamail-1.4 > Reporter: Glenn MacGregor > Assignee: Rick McGuire > Attachments: GERONIMO-4611.patch > > > Mail component throws a NullPointerException during the login phase on an Exchange IMAP4 server. > tcpdump of transaction: > >> a001 CAPABILITY > << OK The Microsoft Exchange IMAP4 service is ready. > << CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN STARTTLS IDLE NAMESPACE LITERAL+ > << a001 OK CAPABILITY completed. > >> a002 AUTHENTICATE PLAIN > << + > Stacktrace: > 10:09:37,847 | ERROR | mail-thread-7250 | MailComponent | common.endpoints.PollingEndpoint 222 | Caught exception while polling: java.lang.NullPointerException > java.lang.NullPointerException > at org.apache.geronimo.javamail.store.imap.connection.IMAPTaggedResponse.isBAD(IMAPTaggedResponse.java:86) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.receiveResponse(IMAPConnection.java:405) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.sendCommand(IMAPConnection.java:324) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processLogin(IMAPConnection.java:593) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.processPlainAuthentication(IMAPConnection.java:532) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.login(IMAPConnection.java:483) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnection.protocolConnect(IMAPConnection.java:176) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnectionPool.createPoolConnection(IMAPConnectionPool.java:211) > at org.apache.geronimo.javamail.store.imap.connection.IMAPConnectionPool.protocolConnect(IMAPConnectionPool.java:177) > at org.apache.geronimo.javamail.store.imap.IMAPStore.protocolConnect(IMAPStore.java:156) > at javax.mail.Service.connect(Service.java:248) > at javax.mail.Service.connect(Service.java:91) > at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:192) > at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.