BinaryHeapQueueAgendaGroup fails to return top salience item
------------------------------------------------------------
Key: JBRULES-2841
URL:
https://issues.jboss.org/browse/JBRULES-2841
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.1.1.FINAL
Reporter: k s
Assignee: Mark Proctor
We have come across a case where the rules engine does not fire the top priority (top
salience) rule. After a lot of careful debugging, it seems that the
BinaryHeapQueueAgendaGroup implementation (and most likely the supporting BinaryHeapQueue)
has a bug. It is not a common case and it was hard to reproduce. We have put together a
junit test to show the problem. The test "replays" the trace from the case where
we show the error (sparing you from all the complexity of the actual rules and produced
it). I will attach the JUnit test and the trace file that drives the test.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira