org.zkoss.zk.ui.UiException: Callable only in the event listener

ZK-Tracker | samroy | 3 years ago
  1. 0

    As a tracking. Refert to http://www.zkoss.org/forum/listComment/18540 ----- SEVERE: Unable to load a listenr, [SYS jar:file:/C:/apache-tomcat-6.0.32/endorsed/zkspring-core.jar!/metainfo/zk/config.xml line 23 col 12] org.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.spring.init.CoreWebAppInit at org.zkoss.zk.ui.util.Configuration.addListener(Configuration.java:360) at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:262) at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:257) at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:131) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:108) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Jan 27, 2012 9:57:08 AM org.zkoss.zk.ui.sys.ConfigParser parseListener:264 SEVERE: Unable to load a listenr, [SYS jar:file:/C:/apache-tomcat-6.0.32/endorsed/zkspring-security.jar!/metainfo/zk/config.xml line 23 col 12] org.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.spring.init.SecurityWebAppInit at org.zkoss.zk.ui.util.Configuration.addListener(Configuration.java:360) at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:262) at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:257) at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:131) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:108) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Jan 27, 2012 9:57:08 AM org.zkoss.zk.ui.sys.ConfigParser parseListener:264 SEVERE: Unable to load a listenr, [SYS jar:file:/C:/apache-tomcat-6.0.32/endorsed/zkspring-webflow.jar!/metainfo/zk/config.xml line 22 col 12] org.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.spring.init.WebflowWebAppInit at org.zkoss.zk.ui.util.Configuration.addListener(Configuration.java:360) at org.zkoss.zk.ui.sys.ConfigParser.parseListener(ConfigParser.java:262) at org.zkoss.zk.ui.sys.ConfigParser.parseListeners(ConfigParser.java:257) at org.zkoss.zk.ui.sys.ConfigParser.parseConfigXml(ConfigParser.java:188) at org.zkoss.zk.ui.http.WebManager.<init>(WebManager.java:131) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.init(DHtmlLayoutServlet.java:108) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4420) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4733) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    ZK-Tracker | 5 years ago | henrichen
    org.zkoss.zk.ui.UiException: Unknown listener: class org.zkoss.spring.init.CoreWebAppInit
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error Expects java.util.Set, java.util.List, java.util.Map, Object[], Enum Class, GroupsModel, ListModel,or BindingListModel only.

    Google Groups | 4 years ago | Scott
    org.zkoss.zk.ui.UiException: Expects java.util.Set, java.util.List, java.util.Map, Object[], Enum Class, GroupsModel, ListModel,or BindingListModel only. class tinvoice01.AccountMapFacade
  4. 0

    New Install Centos 7.2.1 with OSS v1.5.13 build 2b6dfa4d90

    opensearchserve | 11 months ago | madmaxdallas
    org.zkoss.zk.ui.UiException: cannot find any method that is annotated for the command onListRefresh with @Command in com.jaeksoft.searchlib.web.controller.PrivilegesController@4c9422a at [file:/root/opensearch/opensearchserver/server/web apps/ROOT/WEB-INF/zul/privileges/index.zul, line:148]

    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

      Callable only in the event listener

      at org.zkoss.zk.ui.event.Events.sendEvent()
    2. ZK Kernel
      Events.sendEvent
      1. org.zkoss.zk.ui.event.Events.sendEvent(Events.java:334)
      2. org.zkoss.zk.ui.event.Events.sendEvent(Events.java:348)[...]
      2 frames