dcmaf commented on issue #6422:
URL: 
https://github.com/apache/incubator-kie-drools/issues/6422#issuecomment-4390001767

   @yesamer @Rikkola @tkobayas This issue is also still present for us in 
10.2.0. We are using the modification mentioned above to the removeDormantTuple 
method in RuleExecutor to work around it (added check for the tuple being being 
in the dormantMatches list before attempting to remove it and warning if the 
tuple is not in the list).
   
   Replicating the workaround here for convenience:
   
   `    public void removeDormantTuple(RuleTerminalNodeLeftTuple tuple) {
           if (DEBUG_DORMANT_TUPLE) {
               if (!tuple.isDormant()) {
                   throw new IllegalStateException();
               }
           }
   
           if (dormantMatches.contains(tuple))
               dormantMatches.remove(tuple);
           else
               log.warn("removeDormantTuple: Tuple not found on dormant list: 
{}", tuple);
   
           if (DEBUG_DORMANT_TUPLE) {
               tuple.setDormant(false);
           }
      }`


-- 
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