Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005273 [Resin] minor always 11-14-12 06:05 01-18-13 10:15
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.32
Summary 0005273: NPE from PageContextImpl.initialize with custom ServletResponse object
Description We are implementing a POST-Redirect-GET pattern into our system. We are trying to execute the POST context, save the response in an internal object, redirect the user to a page via GET, and then serve the POST results to the user from the GET page.

To try to make this pattern, we replace the ServletResponse with a Proxy object and captured all of the method calls and data being written to the OutputStream / Writer. Unfortunately, I started seeing NullPointerExceptions from within Resin itself (Resin 4.0.32 GPL):

        at com.caucho.jsp.PageContextImpl.initialize(
        at com.caucho.jsp.PageManager.allocatePageContext(
        at _jsp._templates._jsp.__0style2._error__jsp._jspService(
        at com.caucho.jsp.JavaPage.service(
        at com.caucho.jsp.Page.pageservice(
        at com.caucho.server.dispatch.PageFilterChain.doFilter(
        at com.caucho.server.webapp.DispatchFilterChain.doFilter(
        at com.caucho.server.dispatch.ServletInvocation.service(
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(
Additional Information Rep by B. Loy
Attached Files

- Relationships

- Notes
01-18-13 10:15


- Issue History
Date Modified Username Field Change
11-14-12 06:05 cowan New Issue
01-18-13 10:15 ferg Note Added: 0006165
01-18-13 10:15 ferg Assigned To  => ferg
01-18-13 10:15 ferg Status new => closed
01-18-13 10:15 ferg Resolution open => fixed
01-18-13 10:15 ferg Fixed in Version  => 4.0.34

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