JRun 4.0 bug


Web tier: servlets, JSP, Web frameworks: JRun 4.0 bug

  1. JRun 4.0 bug (3 messages)

    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.

    Threaded Messages (3)

  2. JRun 4.0 bug[ Go to top ]

    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
  3. JRun 4.0 bug[ Go to top ]

    I tested the session object - It is not null.
  4. JRun 4.0 bug[ Go to top ]

    There is a new JRun 4 service pack available, you may want to install it and see if your issue is fixed.