Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002883 [Resin] minor always 08-29-08 13:31 09-19-08 14:09
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version 3.2.0
Summary 0002883: NPE in RequestWrapper
Description 2) on the same app-fuse based apps mentioned in the preview e-mail i get another error:

{http--8080-2} java.lang.NullPointerException
 {http--8080-2} at com.caucho.server.connection.
 {http--8080-2} at com.caucho.server.connection.RequestAdapter.getCookieName(
 {http--8080-2} at com.caucho.server.connection.RequestAdapter.getSession(
 {http--8080-2} at com.caucho.server.webapp.DispatchRequest.getSession(
 {http--8080-2} at org.springframework.web.context.request.ServletRequestAttributes.getSession(
 {http--8080-2} at org.springframework.web.context.request.ServletRequestAttributes.updateAccessedSessionAttributes(
 {http--8080-2} at org.springframework.web.context.request.AbstractRequestAttributes.requestCompleted(
 {http--8080-2} at org.springframework.web.context.request.RequestContextListener.requestDestroyed(
 {http--8080-2} at com.caucho.server.webapp.WebAppFilterChain.doFilter(
 {http--8080-2} at com.caucho.server.dispatch.ServletInvocation.service(
 {http--8080-2} at com.caucho.server.http.HttpRequest.handleRequest(
 {http--8080-2} at com.caucho.server.port.TcpConnection.handleConnection(
 {http--8080-2} at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(
 {http--8080-2} at com.caucho.server.port.TcpConnection$
 {http--8080-2} at com.caucho.util.ThreadPool$Item.runTasks(
 {http--8080-2} at com.caucho.util.ThreadPool$
 {http--8080-2} at

no error on apache tomcat. we think it is a resin incompatibility because the exception is launchet by spring framework...
Additional Information
Attached Files

- Relationships

- Notes
09-04-08 14:48

The stack trace is strange. The request object is an include/forward request (DispatchRequest), but the stack trace doesn't show any include or forward.

Although it might be a Resin bug, the spring framework is using an old or obsolete request object, which may also be a spring bug.
09-19-08 14:09

From emailed details, this looks like an application error. The request is getting assigned to a ThreadLocal and apparently not getting cleared. Since Resin reuses its include request wrappers, the obsolete request is in an undefined state.

- Issue History
Date Modified Username Field Change
08-29-08 13:31 alex New Issue
09-04-08 14:48 ferg Note Added: 0003388
09-19-08 14:09 ferg Note Added: 0003469
09-19-08 14:09 ferg Assigned To  => ferg
09-19-08 14:09 ferg Status new => closed
09-19-08 14:09 ferg Resolution open => no change required

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker