[ https://issues.apache.org/jira/browse/GERONIMO-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694951#action_12694951 ]
Rick McGuire commented on GERONIMO-4611: ---------------------------------------- Oops, sorry about that. Forgot to update the permissings. This should be good now. > 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 > > 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.