Reproducing Steps:
When running zkspringwf (example application), click "change search", the exception shows
2012/3/6 下午 01:48:20 org.zkoss.zk.ui.util.Configuration newEventThreadCleanups:515
嚴重的: Failed to invoke class org.zkoss.spring.security.ui.ZkExceptionTranslationListener
java.lang.RuntimeException: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'changeSearchCriteria' of flow 'main'
at org.zkoss.spring.security.ui.ZkExceptionTranslationListener$1.doFilter(ZkExceptionTranslationListener.java:148)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
at org.zkoss.spring.security.ui.ZkExceptionTranslationListener.doExceptionTranslationFiltering(ZkExceptionTranslationListener.java:135)
at org.zkoss.spring.security.ui.ZkExceptionTranslationListener.cleanup(ZkExceptionTranslationListener.java:117)
at org.zkoss.zk.ui.util.Configuration.newEventThreadCleanups(Configuration.java:510)
at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1639)
at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419)
at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:465)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
at org.zkoss.spring.security.ui.ZkLoginOKFilter.doFilter(ZkLoginOKFilter.java:136)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.zkoss.spring.security.ui.ZkEnableSessionInvalidateFilter.doFilter(ZkEnableSessionInvalidateFilter.java:64)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.zkoss.spring.security.ui.ZkDisableSessionInvalidateFilter.doFilter(ZkDisableSessionInvalidateFilter.java:72)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.zkoss.spring.security.ui.ZkError403Filter.doFilter(ZkError403Filter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.zkoss.spring.security.config.ZkDesktopReuseFilter.doFilter(ZkDesktopReuseFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
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:859)
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:662)
Caused by: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'changeSearchCriteria' of flow 'main'
at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:569)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:263)
at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
at org.zkoss.spring.webflow.mvc.servlet.ZkFlowHandlerAdapter.handle(ZkFlowHandlerAdapter.java:81)
at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
at org.zkoss.spring.webflow.mvc.servlet.ZkFlowControllerListener.afterProcessEvent(ZkFlowControllerListener.java:90)
at org.zkoss.zk.ui.impl.EventInterceptors.afterProcessEvent(EventInterceptors.java:160)
at org.zkoss.zk.ui.util.Configuration.afterProcessEvent(Configuration.java:2507)
at org.zkoss.zk.ui.impl.DesktopImpl.afterProcessEvent(DesktopImpl.java:1192)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:139)
at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:306)
at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:329)
at org.zkoss.spring.js.ajax.ZkAjaxHandler.doPopup(ZkAjaxHandler.java:66)
at org.zkoss.spring.js.ajax.ZkAjaxHandler.sendAjaxRedirect(ZkAjaxHandler.java:55)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendFlowExecutionRedirect(FlowHandlerAdapter.java:370)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handleFlowExecutionResult(FlowHandlerAdapter.java:339)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:184)
at org.zkoss.spring.webflow.mvc.servlet.ZkFlowHandlerAdapter.handle(ZkFlowHandlerAdapter.java:81)
at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
at org.zkoss.spring.webflow.mvc.servlet.ZkFlowControllerListener.afterProcessEvent(ZkFlowControllerListener.java:118)
at org.zkoss.zk.ui.impl.EventInterceptors.afterProcessEvent(EventInterceptors.java:160)
at org.zkoss.zk.ui.util.Configuration.afterProcessEvent(Configuration.java:2507)
at org.zkoss.zk.ui.impl.DesktopImpl.afterProcessEvent(DesktopImpl.java:1192)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:139)
at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635)
... 56 more
Caused by: java.lang.IllegalStateException: Exception occurred rendering view org.zkoss.spring.web.servlet.view.ZkView: name 'enterSearchCriteria'; URL [/WEB-INF/flows/main/enterSearchCriteria.zul]
at org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:184)
at org.springframework.webflow.engine.ViewState.render(ViewState.java:314)
at org.springframework.webflow.engine.ViewState.refresh(ViewState.java:265)
at org.springframework.webflow.engine.ViewState.resume(ViewState.java:243)
at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259)
... 80 more
Caused by: org.zkoss.zk.ui.UiException: Page not found: ~./zul/zkspring/webflow/popupTemplate.zul
at org.zkoss.zk.ui.http.ExecutionImpl.getPageDefinition(ExecutionImpl.java:371)
at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:237)
at org.zkoss.spring.web.servlet.view.ZkView.renderPopup(ZkView.java:156)
at org.zkoss.spring.web.servlet.view.ZkView.renderMergedOutputModel(ZkView.java:86)
at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
at org.springframework.webflow.mvc.servlet.ServletMvcView.doRender(ServletMvcView.java:50)
at org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:180)
... 85 more
2012/3/6 下午 01:48:20 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1279
嚴重的: >>java.lang.RuntimeException: org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'changeSearchCriteria' of flow 'main'
>>org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'changeSearchCriteria' of flow 'main'
>>java.lang.IllegalStateException: Exception occurred rendering view org.zkoss.spring.web.servlet.view.ZkView: name 'enterSearchCriteria'; URL [/WEB-INF/flows/main/enterSearchCriteria.zul]
>>org.zkoss.zk.ui.UiException: Page not found: ~./zul/zkspring/webflow/popupTemplate.zul
>> at org.zkoss.zk.ui.http.ExecutionImpl.getPageDefinition(ExecutionImpl.java:371)
>> at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:237)
>> at org.zkoss.spring.web.servlet.view.ZkView.renderPopup(ZkView.java:156)
>> at org.zkoss.spring.web.servlet.view.ZkView.renderMergedOutputModel(ZkView.java:86)
>> at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
>> at org.springframework.webflow.mvc.servlet.ServletMvcView.doRender(ServletMvcView.java:50)
>> at org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:180)
>> at org.springframework.webflow.engine.ViewState.render(ViewState.java:314)
>> at org.springframework.webflow.engine.ViewState.refresh(ViewState.java:265)
>> at org.springframework.webflow.engine.ViewState.resume(ViewState.java:243)
>> at org.springframework.webflow.engine.Flow.resume(Flow.java:545)
>> at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:259)
>> at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:169)
>> at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:183)
>> at org.zkoss.spring.webflow.mvc.servlet.ZkFlowHandlerAdapter.handle(ZkFlowHandlerAdapter.java:81)
>> at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
>> at org.zkoss.spring.webflow.mvc.servlet.ZkFlowControllerListener.afterProcessEvent(ZkFlowControllerListener.java:90)
>> at org.zkoss.zk.ui.impl.EventInterceptors.afterProcessEvent(EventInterceptors.java:160)
>> at org.zkoss.zk.ui.util.Configuration.afterProcessEvent(Configuration.java:2507)
>> at org.zkoss.zk.ui.impl.DesktopImpl.afterProcessEvent(DesktopImpl.java:1192)
>> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:139)
>> at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:306)
>> at org.zkoss.zk.ui.event.Events.sendEvent(Events.java:329)
>> at org.zkoss.spring.js.ajax.ZkAjaxHandler.doPopup(ZkAjaxHandler.java:66)
>> at org.zkoss.spring.js.ajax.ZkAjaxHandler.sendAjaxRedirect(ZkAjaxHandler.java:55)
>> at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.sendFlowExecutionRedirect(FlowHandlerAdapter.java:370)
>> at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handleFlowExecutionResult(FlowHandlerAdapter.java:339)
>> at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:184)
>> at org.zkoss.spring.webflow.mvc.servlet.ZkFlowHandlerAdapter.handle(ZkFlowHandlerAdapter.java:81)
>> at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:174)
>> at org.zkoss.spring.webflow.mvc.servlet.ZkFlowControllerListener.afterProcessEvent(ZkFlowControllerListener.java:118)
>> at org.zkoss.zk.ui.impl.EventInterceptors.afterProcessEvent(EventInterceptors.java:160)
>> at org.zkoss.zk.ui.util.Configuration.afterProcessEvent(Configuration.java:2507)
>> at org.zkoss.zk.ui.impl.DesktopImpl.afterProcessEvent(DesktopImpl.java:1192)
>> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:139)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1635)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1419)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1132)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:562)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:457)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:465)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>> 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.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
>> at org.zkoss.spring.security.ui.ZkLoginOKFilter.doFilter(ZkLoginOKFilter.java:136)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>> at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.zkoss.spring.security.ui.ZkEnableSessionInvalidateFilter.doFilter(ZkEnableSessionInvalidateFilter.java:64)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.zkoss.spring.security.ui.ZkDisableSessionInvalidateFilter.doFilter(ZkDisableSessionInvalidateFilter.java:72)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.zkoss.spring.security.ui.ZkError403Filter.doFilter(ZkError403Filter.java:87)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.zkoss.spring.security.config.ZkDesktopReuseFilter.doFilter(ZkDesktopReuseFilter.java:119)
>> at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
>> at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
>> at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
>> at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> 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:859)
>> 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:662)