Hi,
When I did session.setAttribute("name",null) NullPointerException was thrown. Is the behavior correct?
I guess not. Please provide your comments.
Jrun 4.0 stores session key/value pairs using Hashtable which does not allow null key/value. Thats the reason why exception is thrown but why can't I store null value in the session. Other Containers support this.
-
JRun 4.0 bug (3 messages)
- Posted by: pradeep bhat
- Posted on: October 03 2002 10:10 EDT
Threaded Messages (3)
- JRun 4.0 bug by joseph yi on October 03 2002 18:12 EDT
- JRun 4.0 bug by pradeep bhat on October 03 2002 23:44 EDT
- JRun 4.0 bug by Dan Murphy on October 17 2002 11:11 EDT
- JRun 4.0 bug by pradeep bhat on October 03 2002 23:44 EDT
-
JRun 4.0 bug[ Go to top ]
- Posted by: joseph yi
- Posted on: October 03 2002 18:12 EDT
- in response to pradeep bhat
can you verify the session object itself is not null?
i know that the session object is implicity defined in JSPs, but if you're doing this in a Servlet, Filter, or some other class, then perhaps the session object is null :D
just wondering -
JRun 4.0 bug[ Go to top ]
- Posted by: pradeep bhat
- Posted on: October 03 2002 23:44 EDT
- in response to joseph yi
Hi,
I tested the session object - It is not null. -
JRun 4.0 bug[ Go to top ]
- Posted by: Dan Murphy
- Posted on: October 17 2002 11:11 EDT
- in response to pradeep bhat
There is a new JRun 4 service pack available, you may want to install it and see if your issue is fixed.
http://dynamic.macromedia.com/bin/MM/software/trial/hwswrec.jsp?product=jrun_sp