NPE during opennig a folder.

Hi,

I am getting this exception when i try to log in to the Mail box abd try to open a folder .. I dont think that the Folder is null because it is very well present.

java.lang.NullPointerException

at com.sun.mail.imap.protocol.BASE64MailboxEncoder.encode(BASE64MailboxEncoder.java:89)

at com.sun.mail.imap.protocol.IMAPProtocol.doList(IMAPProtocol.java:514)

at com.sun.mail.imap.protocol.IMAPProtocol.list(IMAPProtocol.java:497)

at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:343)

at com.sun.mail.imap.IMAPFolder.checkExists(IMAPFolder.java:218)

at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:739)

can anybody help me in this

Thanks,

Krishnan Gopu

[735 byte] By [krishnan_gopua] at [2007-10-3 5:23:03]
# 1
Sure looks like you've created a Folder object with a null name.Try Folder.getName or Folder.getFullName before the openand see what you've got.
bshannona at 2007-7-14 23:30:07 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks a lot.. It really happened so.
krishnan_gopua at 2007-7-14 23:30:07 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...