You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Tomas G. Rokicki" <ro...@CS.Stanford.EDU> on 2000/02/04 01:32:20 UTC

Bug in PageContextImpl.removeAttribute

Running tomcat 3.0 under Unix with Sun JDK 1.1.8, I see:


PageContextImpl.removeAttribute() calls 
   ApplicationSession.setAttribute("foo", null) calls
      Hashtable.put("foo", null)

which throws an immediate null pointer exception as
required by the Hashtable API.

Clearly this shouldn't happen.

Bug is trivial to reproduce; simply do a removeAttribute on any
JSP session variable.

-tom