tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Novy - (MGN)" <dn...@cetip.com.br>
Subject NullPointerException in getSession
Date Mon, 01 Oct 2001 13:08:37 GMT
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)

Mime
View raw message