Discussions

Web tier: servlets, JSP, Web frameworks: session value becomes null between the jsp pages

  1. Hi All,

    It is a B2B portal using oracle 9iAS server.Users are using different platforms and browsers.

    In this web application we are calling the java beans functions
    with the session values as its parameter.These values are mainly user id,company id type which are added in the session in the login page.
    It works perfectly but some rare cases (but daily 7/8 times at least known from log ) We get the nullpointer exception at the java bean method.

    Can anybody help me to solve the nullpointer problem? Why it is not always?Is it platform specific?
    Is it possible to loose the session value even when the user is doing some operation?

    Thanks in advance.

    Pradnya
  2. Session might have been timed out and that might be the reason for null values.
  3. IE might loose sessions in you are opening popups

    Dmitry
    http://www.servletsuite.com
  4. Hi,
    Loosing session when using popups on IE is a known problem of 9iAS and have been solved by the latest pathces. Try installing them.
    Best Regards.