Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NullPointerException in com.sun.mail.iap.Response.parse

843830Sep 18 2006 — edited Sep 21 2006
Hey all. I am accessing an IMAP mail server from Solaris 8 using java 1.5.0-08, but I intermittently get the following exception:
java.lang.NullPointerException
        at com.sun.mail.iap.Response.parse(Response.java:130)
        at com.sun.mail.iap.Response.<init>(Response.java:87)
        at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
        at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
        at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
        at com.sun.mail.iap.Protocol.command(Protocol.java:263)
        at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
        at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
        at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
        at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
Any thoughts of what I am doing wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2006
Added on Sep 18 2006
18 comments
243 views