Mantis Bugtracker
  

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

- Relationships

- Notes
(0005094)
ferg
03-01-11 16:55

jsp/0620
 

- Issue History
Date Modified Username Field Change
02-25-11 10:18 ferg New Issue
03-01-11 16:55 ferg Note Added: 0005094
03-01-11 16:55 ferg Assigned To  => ferg
03-01-11 16:55 ferg Status new => closed
03-01-11 16:55 ferg Resolution open => fixed
03-01-11 16:55 ferg Fixed in Version  => 4.0.15


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