× 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.



So, when it runs on the v4r5 box, what does the debug output look like?
This will be a clue as to why the debugging options prevents the NPE.

Can you post the debug output here?  If it's too long, please feel free to
send it as an attachment to me privately.

Gary

> -----Original Message-----
> From: java400-l-bounces@midrange.com 
> [mailto:java400-l-bounces@midrange.com] On Behalf Of James H. 
> H. Lampert
> Sent: Wednesday, January 29, 2003 6:46 AM
> To: Java Programming on and around the iSeries / AS400
> Subject: Re: Weird JavaMail problem: RECAP
> 
> 
> First, thanks to everybody who chimed in. It's not over yet, though.
> 
> So far, we know that the code works fine when run on an NT 
> machine, and we know it works fine when run on the V4R4 box 
> that's been running it for over a year with no problem. We 
> also know that it fails consistently when moved to a V4R5 
> box, giving a Null Pointer Exception in the "send0" method of 
> "Transport," at a line number that shouldn't be capable of 
> throwing such an exception, UNLESS I turn on "debug" in the 
> "Session" used, in which case it works fine, with equal 
> consistency. 'Twouldn't be the first time merely turning on a 
> debugging facility kept a problem from occurring, but I can't 
> very well put it into production that way, Heisenberg 
> Uncertainty Principle notwithstanding.
> 
> -- 
> James H. H. Lampert
> Professional Dilettante
> http://www.hb.quik.com/jamesl 
> http://members.hostedscripts.com/antispam.html
> 
http://www.thehungersite.com

Help America's Passenger Trains. http://www.saveamtrak.org

Read My Lips: No More Atrocities!
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@midrange.com To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.