[rules-dev] Recursion bug in JBoss TMS
Alex Besogonov
alex.besogonov at gmail.com
Sat Sep 18 16:07:57 EDT 2010
I've encountered a NPE in TruthMaintananceSystem:304 on retractions of
tracked facts (because getLogicalDependencies() returns null).
I hunted it down to DefaultKnowledgeHelper::setActivation() method. A
comment there says that this was added to resolve the JBRULES-2558
bug.
My attempt to fix it is attached - instead of removing the list of
logical dependencies, I instead track re-additions and then remove
everything else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_jboss_tms.patch
Type: text/x-patch
Size: 6375 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-dev/attachments/20100918/a5d867a6/attachment.bin
More information about the rules-dev
mailing list