Mantis - Resin
Viewing Issue Advanced Details
4530 minor always 05-04-11 07:57 05-04-11 16:47
kenjrwalker  
ferg  
normal  
closed 4.0.17  
fixed  
none    
none 4.0.18  
0004530: scheduled task request.getParameter NPE
When making a JSP page request via scheduled task url, any page calls to request.getParameter throw NPE. works in 3.1.6.

<scheduled-task url="/task.jsp">
  <cron>* * * * *</cron>
</scheduled-task>

[11-05-04 10:53:00.754] {resin-16} java.lang.NullPointerException
at java.util.AbstractMap.putAll(AbstractMap.java:255)
at com.caucho.server.webapp.ForwardRequest.parseQuery(ForwardRequest.java:342)
at com.caucho.server.webapp.ForwardRequest.getParameterValues(ForwardRequest.java:318)
at com.caucho.server.webapp.ForwardRequest.getParameter(ForwardRequest.java:328)
at _jsp._task__jsp._jspService(_task__jsp.java:610)
at _jsp._task__jsp._jspService(_task__jsp.java:35)
at com.caucho.jsp.JavaPage.service(JavaPage.java:64)
at com.caucho.jsp.Page.pageservice(Page.java:542)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:194)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:126)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:287)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:298)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:116)
at com.caucho.resources.ScheduledTask$ServletTask.run(ScheduledTask.java:348)
at com.caucho.server.util.ScheduledThreadPool$TaskFuture.run(ScheduledThreadPool.java:591)
at com.caucho.env.thread.ResinThread.runTasks(ResinThread.java:164)
at com.caucho.env.thread.ResinThread.run(ResinThread.java:130)

Notes
(0005227)
ferg   
05-04-11 16:47   
server/2i4b