tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Coonrod>
Subject Strange NullPointerException in 3.2b2
Date Wed, 02 Aug 2000 11:51:21 GMT
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 

Dr. John Coonrod, Vice President,
The Hunger Project, 15 East 26th Street, NY, NY 10010

View raw message