0 Replies Latest reply on Aug 21, 2015 3:18 AM by vivek srivastava

    exception: java.lang.RuntimeException: Failed to dispatch CDI Event

    vivek srivastava Newbie

      Hi,

       

      I have setup Wildfly 8.2.1 and Drools 6,2 wb.

      Drools get deployed well. and first day i was able to create a small project, with having a pojo class with 3 fields, guided decision table and a test case.

      Today when i tried to login drools workbench i am facing error on eclipse console.

      exception: java.lang.RuntimeException: Failed to dispatch CDI Event

      12:15:06,292 ERROR [stderr] (default task-61) exception: java.lang.RuntimeException: Failed to dispatch CDI Event

      12:15:06,292 ERROR [stderr] (default task-61) disconnect: false

      12:15:06,305 ERROR [stderr] (default task-61) java.lang.RuntimeException: Failed to dispatch CDI Event

      12:15:06,305 ERROR [stderr] (default task-61) at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:197)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:293)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114)

      12:15:06,306 ERROR [stderr] (default task-61) at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:142)

      12:15:06,307 ERROR [stderr] (default task-61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

      12:15:06,307 ERROR [stderr] (default task-61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

      12:15:06,307 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

      12:15:06,307 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)

      12:15:06,307 ERROR [stderr] (default task-61) at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:53)

      12:15:06,307 ERROR [stderr] (default task-61) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      12:15:06,307 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      12:15:06,307 ERROR [stderr] (default task-61) at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:64)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      12:15:06,308 ERROR [stderr] (default task-61) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

      12:15:06,308 ERROR [stderr] (default task-61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

      12:15:06,309 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)

      12:15:06,310 ERROR [stderr] (default task-61) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

      12:15:06,310 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)

      12:15:06,310 ERROR [stderr] (default task-61) at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      12:15:06,311 ERROR [stderr] (default task-61) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:261)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:248)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:77)

      12:15:06,311 ERROR [stderr] (default task-61) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:167)

      12:15:06,312 ERROR [stderr] (default task-61) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

      12:15:06,312 ERROR [stderr] (default task-61) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:761)

      12:15:06,312 ERROR [stderr] (default task-61) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      12:15:06,312 ERROR [stderr] (default task-61) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      12:15:06,314 ERROR [stderr] (default task-61) at java.lang.Thread.run(Unknown Source)

      12:15:06,314 ERROR [stderr] (default task-61) Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-000143: Container lifecycle event method invoked outside of extension observer ethod invocation.

      12:15:06,315 ERROR [stderr] (default task-61) at org.jboss.weld.bootstrap.events.ContainerEvent.checkWithinObserverNotification(ContainerEvent.java:61)

      12:15:06,315 ERROR [stderr] (default task-61) at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.addObserverMethod(AfterBeanDiscoveryImpl.java:156)

      12:15:06,315 ERROR [stderr] (default task-61) at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:119)

      12:15:06,315 ERROR [stderr] (default task-61) ... 45 more

      12:15:06,315 ERROR [stderr] (default task-61) *** Message delivery failure ***

      12:15:06,315 ERROR [stderr] (default task-61) Bus: org.jboss.errai.bus.server.ServerMessageBusImpl@5a32adc

      12:15:06,315 ERROR [stderr] (default task-61) Message: CommandType=RemoteSubscribe, BeanType=org.kie.workbench.common.screens.server.management.events.ContainerDeleted, ToSubject=cdi.event:Dispatcher, Qualifiers=[]

      12:15:06,315 ERROR [stderr] (default task-61) errorMessage: Error calling remote service: cdi.event:Dispatcher

      12:15:06,316 ERROR [stderr] (default task-61) exception: java.lang.RuntimeException: Failed to dispatch CDI Event

      12:15:06,316 ERROR [stderr] (default task-61) disconnect: false

       

      Please provide me step to resolve this.

       

      -Vivek