[jboss-jira] [JBoss JIRA] (DROOLS-1409) Infinite loop when using maps
mourad ouachani (JIRA)
issues at jboss.org
Mon Jan 16 09:41:00 EST 2017
mourad ouachani created DROOLS-1409:
---------------------------------------
Summary: Infinite loop when using maps
Key: DROOLS-1409
URL: https://issues.jboss.org/browse/DROOLS-1409
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.5.0.Final, 6.4.0.Final, 6.3.0.Final
Environment: Windows/Linux /MacOs
Reporter: mourad ouachani
Assignee: Mario Fusco
Attachments: engineMapBug.zip
Infinite loop when using maps instead collections.
The problem appears before the 10th iteration, however if you run it 10 times it could end properly without infinite loop.
We thought it could be linked to the concurrent access to HashMap and we tried with concurrent HashMap but still got the same problem.
It could be probably linked to the fact that we use maps not only to store the result of some rules evaluation but also as a functional way to prevent rule to be fired again (see rule "FLG1" and the condition "FLG1 not memberof matchMap"
Thanks.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list