tkobayas commented on issue #7141:
URL: https://github.com/apache/incubator-kie/issues/7141#issuecomment-6944515665

   Hi @Thebas 
   
   We need a DRL test case to reproduce the issue. So far, I have identified 2 
possible scenarios:
   
   1. A RuntimeException is thrown during `from` evaluation.
   
   For example, with a rule like `$s : String() from $h.items`, if 
`$h.getItems() `throws a RuntimeException, the working memory state becomes 
corrupted, and after catching the Exception, the subsequent fireAllRules() call 
may lead to this situation. Of course, such behavior is not supported.
   
   2. Sequential mode is enabled.
   
   We can reproduce the issue in Drools 10.2:
   
   https://gist.github.com/tkobayas/cd82707f66165496e7c08568bb0621d3
   
   Is this the case in your environment? If so, this has been fixed by 
https://github.com/apache/incubator-kie/pull/7202 and will be included in the 
upcoming 10.3.0 release.
   
   If neither of these matches your use case, please provide a minimal 
reproducer. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to