Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3763

Exception thrown when switching to BPM Example project in Project Explorer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.0.2
    • None
    • Business Central
    • None

      Description of problem:
      1) When I deploy BPM Example repo (Big App) into business central and then select its associated project in Project Explorer, I always get exception (see Additional info for full stack trace):
      java.lang.RuntimeException: Failed to dispatch CDI Event
      ...
      Caused by: org.guvnor.common.services.shared.exceptions.GenericPortableException: Index: 0

      The same exception is thrown every time I open new sub-package in that project.

      2) When I delete ALL the guided rules from the project, there is a different exception thrown:
      java.lang.RuntimeException: Failed to dispatch CDI Event
      ....
      Caused by: org.guvnor.common.services.shared.exceptions.GenericPortableException: org.uberfire.java.nio.base.Properties cannot be cast to org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52

      3) After I delete the Guided Decision Table from the project, there are no more exceptions thrown.

      This problem doesn't seem to affect functionality of business central / BPM Example app, there is just a lot of exceptions in the server log.

      Version-Release number of selected component (if applicable):
      BPMS 6.0.2 ER2

      How reproducible:
      Always

      Steps to Reproduce:
      1. Download and install BPM Example app (following instructions in the README which is included in the zip - http://dev138.mw.lab.eng.bos.redhat.com/candidate/bpms-6.0.2-ER2/jboss-bpm-example-dist-6.0.2.GA-redhat-2.zip)
      2. Go to project authoring, select big app project (try switching to different repository / project and then back to big app project.

      Actual results:
      Exceptions appears in server log each time you switch projects / expand packages of the BPM Example project. When you delete all guided rules & guided decision tables, there are no more exceptions.

      Expected results:
      No exceptions should be thrown.

      Additional info:
      [1]
      13:59:11,878 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) java.lang.RuntimeException: Failed to dispatch CDI Event
      13:59:11,879 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:193)
      13:59:11,879 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)
      13:59:11,879 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:284)
      13:59:11,879 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)
      13:59:11,879 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:140)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      13:59:11,880 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      13:59:11,881 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
      13:59:11,882 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:499)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      13:59:11,883 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:408)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
      13:59:11,884 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at java.lang.Thread.run(Thread.java:722)
      13:59:11,885 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) Caused by: org.guvnor.common.services.shared.exceptions.GenericPortableException: Index: 0
      13:59:11,885 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.guvnor.common.services.backend.exceptions.ExceptionUtilities.handleException(ExceptionUtilities.java:39)
      13:59:11,885 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImpl.load(GuidedRuleEditorServiceImpl.java:175)
      13:59:11,885 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImpl.load(GuidedRuleEditorServiceImpl.java:64)
      13:59:11,885 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleEditorServiceImpl$Proxy$$$_WeldClientProxy.load(GuidedRuleEditorServiceImpl$Proxy$$$_WeldClientProxy.java)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleDRLSourceService.getSource(GuidedRuleDRLSourceService.java:53)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.drools.workbench.screens.guided.rule.backend.server.GuidedRuleDRLSourceService$Proxy$$$_WeldClientProxy.getSource(GuidedRuleDRLSourceService$Proxy$$$_WeldClientProxy.java)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.addRuleNames(RuleNameServiceImpl.java:194)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.processResourceAdd(RuleNameServiceImpl.java:164)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:108)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,886 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.visitPaths(RuleNameServiceImpl.java:97)
      13:59:11,887 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl.onProjectContextChange(RuleNameServiceImpl.java:91)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.kie.workbench.common.services.backend.rulename.RuleNameServiceImpl$Proxy$$$_WeldClientProxy.onProjectContextChange(RuleNameServiceImpl$Proxy$$$_WeldClientProxy.java)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at java.lang.reflect.Method.invoke(Method.java:601)
      13:59:11,888 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:267)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:263)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)
      13:59:11,889 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:245)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:233)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:213)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:117)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.TransactionalObserverNotifier.notifyObserver(TransactionalObserverNotifier.java:44)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:85)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:75)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:70)
      13:59:11,890 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:562)
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:164)
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) ... 37 more
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) *** Message delivery failure ***
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) Bus: org.jboss.errai.bus.server.ServerMessageBusImpl@153a8d41
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) Message: FromClient=1, BeanReference=org.guvnor.common.services.project.context.ProjectContextChangeEvent@370fb14a, BeanType=org.guvnor.common.services.project.context.ProjectContextChangeEvent, CommandType=CDIEvent, ToSubject=cdi.event:Dispatcher
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) errorMessage: Error calling remote service: cdi.event:Dispatcher
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) exception: java.lang.RuntimeException: Failed to dispatch CDI Event
      13:59:11,891 ERROR [stderr] (http-localhost/127.0.0.1:8080-6) disconnect: false

              manstis@redhat.com Michael Anstis
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek (Inactive), Kris Verlaenen, Rajesh Rajasekaran, Toni Rikkola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: