I am recieving null pointer exception when trying to read messages from JAMES using JSP
0 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Monday, July 7, 2003 01:19 PM

Hai Friends,

I am trying to read messages from the pop3 store from JAMES using JSP on Tomcat 4.1 its throwing null pointer exception when using folder.getMessages(). If the same logic executed from a java application using main function its working fine.
This is happening if there are some mails in the inbox. If no messages its working.

I am not using Context to retrieve Session from context refference.

Can any one help in this regard.

Thanks in advance.

About | Sitemap | Contact