Not only that. It can also cause NPE to be thrown. That would happen if there
is such a rule:

rule "Update Recording"
  when
    $m : Motion()
    $r : Recording()
  then
    System.err.println("Recording: " + $r);
    retract($r);
end

then this rule may be executed multiple times and $r could be NULL (since
there should be only one instance of a Recording at most). I would call it a
bug.


--
View this message in context: 
http://drools.46999.n3.nabble.com/Odd-rules-execution-for-expired-events-tp4018092p4018110.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to