× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi ,
 
We experience issues with an utility "YEMAIL" from time to time which are 
impacting delivery of reports to Clients .It appears to be an issue connecting 
to the mail server and in looking at the program I have  found that the program 
is not handling a Null pointer exception correctly. 
The method  send()  is catching a javax.mail.SendFailedException  but is not 
logging what the actual exception is.  
I would like to add a line
 
        System.out.println("Send Failed Exception  = " +  noSentEx) 
How do I work out a solution to retry if the addresses are null ???
Am I on the right path? Please help me to address this problem!
How to handle Null Pointer exception?
It may be simple, I dont have much experience on Java, Iam connected to AS400. 
Please try to help! Appreciate your early help!!!
Thank you,
Murali. 


                
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.