tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manu KY <manu_...@yahoo.com>
Subject Re: NullPointerException in getSession
Date Mon, 01 Oct 2001 14:34:20 GMT
Hi,
please paste the code for easy debugging!!!.

did you do getSession(true)?

Manu
>Hi all. Does anyone know a solution to the exception presented
>below? It happens when I try to get an http session.
>The interesting thing is that this problem is not deterministic:
>sometimes it happens and sometimes it does not (obviously, using
>the same code and the same environment).
>
>Any help is welcome!
>
>Thanks,
>
>Daniel Novy.
>
>java.lang.NullPointerException
>         at
>org.apache.tomcat.core.RequestImpl.getSession(RequestImpl.java:497)
>         at
>org.apache.tomcat.facade.HttpServletRequestFacade.getSession(HttpServletRequ
>estFacade.java:382)
>         at cetip.web.CtpRequest.getHttpSession(CtpRequest.java:350)
>         at cetip.web.CtpWebUser.getSessionAttribute(CtpWebUser.java:467)


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message