Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5273 | minor | always | 11-14-12 06:05 | 01-18-13 10:15 | |
|
|||||
Reporter: | cowan | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.32 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.34 | ||
|
|||||
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): java.lang.NullPointerException at com.caucho.jsp.PageContextImpl.initialize(PageContextImpl.java:258) at com.caucho.jsp.PageManager.allocatePageContext(PageManager.java:206) at _jsp._templates._jsp.__0style2._error__jsp._jspService(_error__jsp.java:24) at com.caucho.jsp.JavaPage.service(JavaPage.java:64) at com.caucho.jsp.Page.pageservice(Page.java:548) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194) at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:131) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:289) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298) at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116) |
||||
Steps To Reproduce: | |||||
Additional Information: | Rep by B. Loy | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|