Anonymous | Login | Signup for a new account | 12-17-2024 08:49 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 | ||||
0004409 | [Resin] | minor | always | 02-25-11 10:18 | 03-01-11 16:55 | ||||
Reporter | ferg | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.13 | ||||||
Summary | 0004409: NPE with wrapped request in JSP/PageContext | ||||||||
Description |
(rep by tienus) With the following code: MockHttpServletResponse mockresponse = new MockHttpServletResponse(); mockresponse.setContentType("text/html" mockresponse.setBufferSize(16384); RequestDispatcher dispatcher = servletContext.getRequestDispatcher(fileName); dispatcher.forward(mockrequest, mockresponse); I'm seeing the following error: java.lang.NullPointerException at com.caucho.jsp.PageContextImpl.initialize(PageCont extImpl.java:252) at com.caucho.jsp.PageManager.allocatePageContext(Pag eManager.java:208) at _jsp._WEB_22dINF._jsp._email._dealerInvoiceEmailUp dateForOutstandingInvoicesGreaterThanTwentyFiveDay s__jspx._jspService(_dealerInvoiceEmailUpdateForOu tstandingInvoicesGreaterThanTwentyFiveDays__jspx.j ava:23) at com.caucho.jsp.JavaPage.service(JavaPage.java:64) at com.caucho.jsp.Page.pageservice(Page.java:542) at com.caucho.server.dispatch.PageFilterChain.doFilte r(PageFilterChain.java:194) at com.caucho.server.dispatch.ServletInvocation.servi ce(ServletInvocation.java:287) at com.caucho.server.webapp.RequestDispatcherImpl.for ward(RequestDispatcherImpl.java:270) at com.caucho.server.webapp.RequestDispatcherImpl.for ward(RequestDispatcherImpl.java:100) We are using Using Resin 4.0.13. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |