0 Replies Latest reply on Feb 11, 2015 7:23 AM by franco80

    jbpm 6.1: jbpm-console: org.jboss.weld.exceptions.IllegalStateException: WELD-000143: Container lifecycle event method invoked outside of extension observer method invocation.

    franco80 Novice

      Hello all

       

      application is started and when I click on login button on the page: http://localhost:8080/jbpm-console I recived:

       

      wildfly-8.1.0.Final, for now I changed errai to 2.4.5 (was 2.4.4) in jbpm-console.war and weld in modules (from 2.1 to 2.2)

       

      2015-02-11 13:43:30,692 ERROR [stderr] (default task-29) java.lang.RuntimeException: Failed to dispatch CDI Event

      2015-02-11 13:43:30,697 ERROR [stderr] (default task-29)     at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:193)

      2015-02-11 13:43:30,698 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)

      2015-02-11 13:43:30,698 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:284)

      2015-02-11 13:43:30,698 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)

      2015-02-11 13:43:30,699 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97)

      2015-02-11 13:43:30,699 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114)

      2015-02-11 13:43:30,699 ERROR [stderr] (default task-29)     at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:142)

      2015-02-11 13:43:30,699 ERROR [stderr] (default task-29)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

      2015-02-11 13:43:30,700 ERROR [stderr] (default task-29)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

      2015-02-11 13:43:30,700 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)

      2015-02-11 13:43:30,700 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130)

      2015-02-11 13:43:30,701 ERROR [stderr] (default task-29)     at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)

      2015-02-11 13:43:30,701 ERROR [stderr] (default task-29)     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      2015-02-11 13:43:30,701 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      2015-02-11 13:43:30,701 ERROR [stderr] (default task-29)     at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)

      2015-02-11 13:43:30,702 ERROR [stderr] (default task-29)     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      2015-02-11 13:43:30,702 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      2015-02-11 13:43:30,702 ERROR [stderr] (default task-29)     at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)

      2015-02-11 13:43:30,702 ERROR [stderr] (default task-29)     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      2015-02-11 13:43:30,703 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      2015-02-11 13:43:30,703 ERROR [stderr] (default task-29)     at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:283)

      2015-02-11 13:43:30,703 ERROR [stderr] (default task-29)     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      2015-02-11 13:43:30,703 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      2015-02-11 13:43:30,704 ERROR [stderr] (default task-29)     at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:283)

      2015-02-11 13:43:30,704 ERROR [stderr] (default task-29)     at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60)

      2015-02-11 13:43:30,704 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132)

      2015-02-11 13:43:30,705 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85)

      2015-02-11 13:43:30,705 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61)

      2015-02-11 13:43:30,705 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

      2015-02-11 13:43:30,705 ERROR [stderr] (default task-29)     at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

      2015-02-11 13:43:30,706 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)

      2015-02-11 13:43:30,706 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113)

      2015-02-11 13:43:30,706 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:56)

      2015-02-11 13:43:30,706 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:27)

      2015-02-11 13:43:30,707 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)

      2015-02-11 13:43:30,707 ERROR [stderr] (default task-29)     at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)

      2015-02-11 13:43:30,707 ERROR [stderr] (default task-29)     at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45)

      2015-02-11 13:43:30,708 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61)

      2015-02-11 13:43:30,708 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)

      2015-02-11 13:43:30,708 ERROR [stderr] (default task-29)     at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

      2015-02-11 13:43:30,708 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70)

      2015-02-11 13:43:30,709 ERROR [stderr] (default task-29)     at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

      2015-02-11 13:43:30,709 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)

      2015-02-11 13:43:30,709 ERROR [stderr] (default task-29)     at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

      2015-02-11 13:43:30,709 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)

      2015-02-11 13:43:30,710 ERROR [stderr] (default task-29)     at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25)

      2015-02-11 13:43:30,710 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240)

      2015-02-11 13:43:30,710 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227)

      2015-02-11 13:43:30,711 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73)

      2015-02-11 13:43:30,711 ERROR [stderr] (default task-29)     at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146)

      2015-02-11 13:43:30,711 ERROR [stderr] (default task-29)     at io.undertow.server.Connectors.executeRootHandler(Connectors.java:177)

      2015-02-11 13:43:30,712 ERROR [stderr] (default task-29)     at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:727)

      2015-02-11 13:43:30,712 ERROR [stderr] (default task-29)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

      2015-02-11 13:43:30,712 ERROR [stderr] (default task-29)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      2015-02-11 13:43:30,713 ERROR [stderr] (default task-29)     at java.lang.Thread.run(Unknown Source)

      2015-02-11 13:43:30,713 ERROR [stderr] (default task-29) Caused by: org.jboss.weld.exceptions.IllegalStateException: WELD-000143: Container lifecycle event method invoked outside of extension observer method invocation.

      2015-02-11 13:43:30,713 ERROR [stderr] (default task-29)     at org.jboss.weld.bootstrap.events.ContainerEvent.checkWithinObserverNotification(ContainerEvent.java:61)

      2015-02-11 13:43:30,714 ERROR [stderr] (default task-29)     at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.addObserverMethod(AfterBeanDiscoveryImpl.java:156)

      2015-02-11 13:43:30,714 ERROR [stderr] (default task-29)     at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:117)

      2015-02-11 13:43:30,714 ERROR [stderr] (default task-29)     ... 54 more

      2015-02-11 13:43:30,715 ERROR [stderr] (default task-29) *** Message delivery failure ***

      2015-02-11 13:43:30,715 ERROR [stderr] (default task-29) Bus: org.jboss.errai.bus.server.ServerMessageBusImpl@2f1e3abe

      2015-02-11 13:43:30,715 ERROR [stderr] (default task-29) Message: CommandType=RemoteSubscribe, BeanType=org.kie.workbench.common.screens.messageconsole.events.PublishMessagesEvent, ToSubject=cdi.event:Dispatcher, Qualifiers=[]

      2015-02-11 13:43:30,715 ERROR [stderr] (default task-29) errorMessage: Error calling remote service: cdi.event:Dispatcher

      2015-02-11 13:43:30,716 ERROR [stderr] (default task-29) exception: java.lang.RuntimeException: Failed to dispatch CDI Event

      2015-02-11 13:43:30,716 ERROR [stderr] (default task-29) disconnect: false

      2015-02-11 13:43:30,745 ERROR [stderr] (default task-29) java.lang.RuntimeException: Failed to dispatch CDI Event

       

      any idea what is cause ?