You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Coonrod <jc...@thp.org> on 2000/08/02 13:51:21 UTC

Strange NullPointerException in 3.2b2

The line of code

   String MyName=request.getRemoteUser().toUpperCase();

Generates a java.lang.NullPointerException when authentication is turned 
off, and I don't think it should. I guess this is actually a jdk 1.2.2 
error, because I would think a null string would obey the same methods as 
any other string.

(Earlier I had thought my problem was coming from Oracle drivers - I was 
wrong)

----------------
Dr. John Coonrod, Vice President, jc@thp.org
The Hunger Project, 15 East 26th Street, NY, NY 10010 www.thp.org