| Summary: | ClassCastException when retrieving AgendaEventListener collection | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Tomas Schlosser <tschloss> | ||||
| Component: | BRE (Expert, Fusion), jBPM 5 | Assignee: | Tihomir Surdilovic <tsurdilo> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Tomas Schlosser <tschloss> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | BRMS 5.3.0.GA | CC: | atangrin, brms-jira | ||||
| Target Milestone: | --- | Keywords: | TestBlocker | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-01-13 07:59:16 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
*** This bug has been marked as a duplicate of bug 761427 *** |
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