Mantis - Resin
Viewing Issue Advanced Details
1775 minor always 06-01-07 06:22 06-06-07 16:43
sam  
ferg  
urgent  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001775: Session not available in requestDestroyed
(rep by A Deshpande)

Using the spring framework, an exception is logged for every request, because the session is no longer available when responding to a requestDestroyed event.

java.lang.NullPointerException
[12:18:04.192] at
com.caucho.server.webapp.DispatchRequest.getSession(DispatchRequest.java:433)
[12:18:04.192] at
org.springframework.web.context.request.ServletRequestAttributes.getSession(ServletRequestAttributes.java:98)
[12:18:04.192] at
org.springframework.web.context.request.ServletRequestAttributes.updateAccessedSessionAttributes(ServletRequestAttributes.java:200)
[12:18:04.192] at org.springframework.web.context.request.AbstractRequestAttributes.requestCompleted(AbstractRequestAttributes.java:47)
[12:18:04.192] at org.springframework.web.context.request.RequestContextListener.requestDestroyed(RequestContextListener.java:86)
12:18:04.192] at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:185)

Notes
(0002019)
ferg   
06-06-07 16:43   
server/10gr