session.removeAttribute problem
843841May 30 2007 — edited Jun 1 2007Hello,
I have following problem which is occuring in sevlet api 2.4 (but the document doesnt talk about the same) please let me know if there is any document which explains this behaviour
-------------------------------------------
Something like this is happening....
String str=null;
request.getSession().removeAttribute(str);
its throwing this error:
------------------------------------
SEVERE: Servlet.service() for servlet action threw exception
java.lang.NullPointerException
------------------------------------
though it seems obvious, the code was not failing until specs. 2.3