org.zkoss.zk.ui.UiException: Listitem's parent must be Listbox, not <Chosenbox cRyP7>

ZK-Tracker | mujawarv | 4 years ago
  1. 0

    When i used databind with mvvm i got this exception >org.zkoss.zk.ui.UiException: Listitem's parent must be Listbox, not <Chosenbox cRyP7> >> at org.zkoss.zul.Listitem.beforeParentChanged(Listitem.java:339) >> at org.zkoss.zk.ui.AbstractComponent.setParent(AbstractComponent.java:970) >> at org.zkoss.zk.ui.AbstractComponent.insertBefore(AbstractComponent.java:1110) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:100) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2163) >> at org.zkoss.zkmax.bind.impl.BindChosenboxRenderer.render(BindChosenboxRenderer.java:70) >> at org.zkoss.zkmax.zul.Chosenbox.prepareItems(Chosenbox.java:571) >> at org.zkoss.zkmax.zul.Chosenbox.prepareData(Chosenbox.java:530) >> at org.zkoss.zkmax.zul.Chosenbox.onInitRender(Chosenbox.java:700) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2718) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) >> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) >> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source)

    ZK-Tracker | 4 years ago | mujawarv
    org.zkoss.zk.ui.UiException: Listitem's parent must be Listbox, not <Chosenbox cRyP7>
  2. 0

    When i used databind with mvvm i got this exception >org.zkoss.zk.ui.UiException: Listitem's parent must be Listbox, not <Chosenbox cRyP7> >> at org.zkoss.zul.Listitem.beforeParentChanged(Listitem.java:339) >> at org.zkoss.zk.ui.AbstractComponent.setParent(AbstractComponent.java:970) >> at org.zkoss.zk.ui.AbstractComponent.insertBefore(AbstractComponent.java:1110) >> at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:100) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679) >> at org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86) >> at org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2163) >> at org.zkoss.zkmax.bind.impl.BindChosenboxRenderer.render(BindChosenboxRenderer.java:70) >> at org.zkoss.zkmax.zul.Chosenbox.prepareItems(Chosenbox.java:571) >> at org.zkoss.zkmax.zul.Chosenbox.prepareData(Chosenbox.java:530) >> at org.zkoss.zkmax.zul.Chosenbox.onInitRender(Chosenbox.java:700) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) >> at java.lang.reflect.Method.invoke(Unknown Source) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2718) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) >> at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) >> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) >> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) >> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550) >> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380) >> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188) >> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166) >> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) >> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) >> at java.lang.Thread.run(Unknown Source)

    ZK-Tracker | 4 years ago | mujawarv
    org.zkoss.zk.ui.UiException: Listitem's parent must be Listbox, not <Chosenbox cRyP7>
  3. 0

    The issue: - An index page uses Composition (org.zkoss.zk.ui.util.Composition) and defines content to fill a common template for page layout (<?init class="org.zkoss.zk.ui.util.Composition" arg0="~./template/public-page-template.zul"?>) - A Div element with ID "headerDiv" is defined in page template (<div id="header" style="background-color:grey; width: 100%; height: 100px" />) - A custom error page (error.zul, defined in web.xml <error-page> elements) uses the same common page template to show an error message when exception occurs while loading ZUML document. - When Exception is thrown while composing an index page, composing the error page fails with the following exception: SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Throwable, location=/error.zul] org.zkoss.zk.ui.UiException: Replicated UUID is not allowed for class org.zkoss.zhtml.Div: header at org.zkoss.zk.ui.AbstractComponent.setId(AbstractComponent.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:284) at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:169) at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:729) at org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:106) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:809) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:778) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:687) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:651) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:824) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:778) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:687) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:651) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:824) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:778) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:687) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:651) at org.zkoss.zk.ui.impl.UiEngineImpl.createComponents(UiEngineImpl.java:1032) at org.zkoss.zk.ui.impl.AbstractExecution.createComponents0(AbstractExecution.java:246) at org.zkoss.zk.ui.impl.AbstractExecution.createComponents(AbstractExecution.java:238) at org.zkoss.zk.ui.util.Composition.doInit(Composition.java:92) at org.zkoss.zk.ui.metainfo.InitiatorInfo.doInit(InitiatorInfo.java:148) at org.zkoss.zk.ui.metainfo.InitiatorInfo.newInitiator(InitiatorInfo.java:143) at org.zkoss.zk.ui.metainfo.PageDefinition.doInit(PageDefinition.java:396) at org.zkoss.zk.ui.impl.Initiators.doInit(Initiators.java:58) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:382) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:136) ... See attached sample project to reproduce the issue: GET http://localhost:9090/webapp/404 Will result in 404 error and compose the error page correctly GET http://localhost:9090/webapp/index.zul Will result in the reported exception (Replicated UUID is not allowed)

    ZK-Tracker | 4 years ago | gediminas
    org.zkoss.zk.ui.UiException: Replicated UUID is not allowed for class org.zkoss.zhtml.Div: header
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    h4. Reproducing Steps: When running zkspringwf (example application), click "change search", the exception shows {quote} 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) {quote}

    ZK-Tracker | 5 years ago | hawk
    org.zkoss.zk.ui.UiException: Page not found: ~./zul/zkspring/webflow/popupTemplate.zul

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.zkoss.zk.ui.UiException

      Listitem's parent must be Listbox, not <Chosenbox cRyP7>

      at org.zkoss.zul.Listitem.beforeParentChanged()
    2. ZK XUL Components
      Listitem.beforeParentChanged
      1. org.zkoss.zul.Listitem.beforeParentChanged(Listitem.java:339)
      1 frame
    3. ZK Kernel
      UiEngineImpl$TemplateImpl.create
      1. org.zkoss.zk.ui.AbstractComponent.setParent(AbstractComponent.java:970)
      2. org.zkoss.zk.ui.AbstractComponent.insertBefore(AbstractComponent.java:1110)
      3. org.zkoss.zk.ui.impl.AbstractUiFactory.newComponent(AbstractUiFactory.java:100)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:801)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:770)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:679)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.access$800(UiEngineImpl.java:86)
      8. org.zkoss.zk.ui.impl.UiEngineImpl$TemplateImpl.create(UiEngineImpl.java:2163)
      8 frames
    4. org.zkoss.zkmax
      Chosenbox.onInitRender
      1. org.zkoss.zkmax.bind.impl.BindChosenboxRenderer.render(BindChosenboxRenderer.java:70)
      2. org.zkoss.zkmax.zul.Chosenbox.prepareItems(Chosenbox.java:571)
      3. org.zkoss.zkmax.zul.Chosenbox.prepareData(Chosenbox.java:530)
      4. org.zkoss.zkmax.zul.Chosenbox.onInitRender(Chosenbox.java:700)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2718)
      2. org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2648)
      3. org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1709)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1494)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:463)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316)
      8. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:215)
      9. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135)
      9 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      2 frames
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
      9 frames
    9. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
      3. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
      4. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
      4 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames