Re: null pointer exception when running mail example

2003-02-14 Thread Kevin Williams
How I'm invoking the mail example is by entering the following as the URL: http://localhost:8080/examples/jsp/mail/sendmail.jsp If this were kwilliamsLinux (my machine name) instead of localhost, I'd definitely see that as the potential source of the problem (although I didn't think of that until

Re: null pointer exception when running mail example

2003-02-14 Thread bido
My two cents follow. Make sure that your invoking your services consistently. Something like: localhost/MyWebApp/jsp_or_servlet or: 127.0.0.1/MyWebApp/jsp_or_servlet or: 128.43.10.19/MyWebApp/jsp_or_servlet Inconsistencies like these, can bring you headaches. since the default session mana

null pointer exception when running mail example

2003-02-14 Thread Kevin Williams
Hi all, I am hoping someone can tell me why this happens! When I installed Tomcat, my mail example did not work. I got the following error: java.lang.NullPointerException at java.net.InetAddress.cacheAddress(InetAddress.java:648) at java.net.InetAddress.cacheAddress(InetAddress.