问题产生的条件:
更新了最新1.b.36版本之后
发生问题的调用代码:
@At
@Ok("redirect:/booklist/detail.do?id=${p.id}")
public void collect(@Param("id") Long id) {
if (id == null) {
return;
}
...
}
问题的详细说明:
在redirect跳转的时候想传回request里面的参数,现在发现${p.xxx}
失效
异常堆栈:
org.nutz.el.ElException: NullElValue don't support [getProperty]!
at org.nutz.el.val.NullElValue.getProperty(NullElValue.java:14)
at org.nutz.el.opt.AccessOperator.execute(AccessOperator.java:23)
at org.nutz.el.obj.BinElObj.eval(BinElObj.java:130)
at org.nutz.mvc.view.AbstractPathView.evalPath(AbstractPathView.java:51)
at org.nutz.mvc.view.ServerRedirectView.render(ServerRedirectView.java:27)
at org.nutz.mvc.impl.processor.ViewProcessor.process(ViewProcessor.java:35)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:21)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.team4u.bc.processer.PropertyInitProcessor.process(PropertyInitProcessor.java:21)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:42)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.team4u.bc.processer.PermissionProcessor.process(PermissionProcessor.java:32)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:67)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:36)
at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:28)
at org.nutz.mvc.NutServlet.service(NutServlet.java:38)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:619)
相关日志:
Original issue reported on code.google.com by jdomyth@gmail.com on 26 Mar 2011 at 3:28
Original issue reported on code.google.com by
jdomyth@gmail.com
on 26 Mar 2011 at 3:28