Hide Forgot
Created attachment 555005 [details] Simple reproducer Description of problem: CCE is thrown upon calling ksession.getAgendaEventListeners() Version-Release number of selected component (if applicable): BRMS-5.3.0-ER2 How reproducible: On StatefulKnowledgeSession Steps to Reproduce: 1. create stateful session 2. call getAgendaEventListeners() Actual results: Exception in thread "main" java.lang.ClassCastException: org.jbpm.process.instance.ProcessRuntimeImpl$3 cannot be cast to org.drools.event.rule.AgendaEventListener at org.drools.impl.StatefulKnowledgeSessionImpl.getAgendaEventListeners(StatefulKnowledgeSessionImpl.java:182) at org.jboss.qa.brms.getlisteners.GetListenersTest.main(GetListenersTest.java:26) Expected results: list of listeners Additional info: It doesn't matter whether: - there is any rule or process - there are any listeners Other listeners getters don't cause this error
*** This bug has been marked as a duplicate of bug 761427 ***