dcsimg
Message msg = new MimeMessage(session) throwing nullpointer exception
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   paul_wetzel
Posted On:   Wednesday, April 18, 2001 09:17 AM

In the Fundamentals of the JavaMail API Short Course, in
msgsend.java, when constructing the MimeMessage
(around line 140, syntax: Message msg = new MimeMessage(session))
I am getting a null pointer exception. Any
clues as to what could be causing this to happen?
thanks in advance
paul wetzel

Re: Message msg = new MimeMessage(session) throwing nullpointer exception

Posted By:   John_Zukowski  
Posted On:   Thursday, April 19, 2001 08:52 PM

The msgsend program is not technically part of the JavaMail course. It is a demo that comes with the JavaMail API. You can try to check with Sun on what the specific problem you are having. It ran fine for me when I was putting the course together.

Re: Message msg = new MimeMessage(session) throwing nullpointer exception

Posted By:   Jo_Ritter  
Posted On:   Thursday, April 19, 2001 08:42 AM

Paul, I have got exactly the same problem. Unfortunately, I don't know the solution yet - do you? I'll let you know if I find out something. Could you please inform me as well? Best regards, Jo (joachim_ritter@gillette.com)
About | Sitemap | Contact