Anonymous | Login | Signup for a new account | 12-17-2024 08:39 PST |
Main | My View | View Issues | Change Log | Docs |
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): 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) |
||||||||
Additional Information | Rep by B. Loy | ||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |