geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: geronimo-javamail-1.4 problem
Date Wed, 01 Apr 2009 16:19:11 GMT
Glenn Macgregor wrote:
>
> Hi All,
>
>  
>
> I am using servicemix-4.0.0 which integrates geronimo-javamail-1.4. I 
> am connecting to an exchange server via imap(s) and getting a 
> NullPointerException in the login phase.
>
>  
>
> >> 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
>
> << +
>
>  
>
> >> == sent
>
> << == received
>
>  
>
>  
>
> As far as I can tell when we receive the + we get a null pointer 
> exception:
>
>                                 Java.lang.NullPointerException at 
> org.apache.geronimo.javamail.store.imap.connection.IMAPTaggedResponse.isBAD(IMAPTaggedResponse.java:86)
>
>  
>
> Is this a known issue?
>
Please open a Jira for this.  This looks like a fairly trivial (and 
embarrassing bug).  It looks like the parsing of the continuation 
characters was looking for the wrong character, which basically breaks 
anything other than the most basic of login mechanisms.

Rick

>  
>
> Thanks
>
>  
>
>  Glenn
>


Mime
View raw message