You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2009/04/02 11:58:12 UTC

[jira] Commented: (GERONIMO-4611) Exchange IMAP problem

    [ https://issues.apache.org/jira/browse/GERONIMO-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694943#action_12694943 ] 

Rick McGuire commented on GERONIMO-4611:
----------------------------------------

Glenn, I've fixed the null pointer exception, but I don't have access to an Exchange server to verify the fix.  This is definitely the first time this IMAP implementation has been used against a server that supports fuller authentication mechanisms, so it' possible that this fix will just get us to the next problem with authentication.  Could you try out the version located here:

http://people.apache.org/~rickmcguire/javamail/

and let me know how things go?

Rick

> 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.