Could you write a minimal unit test to reproduce this problem, similar to the tests here:
TruthMaintenanceTest

Mark


On 18/09/2010 21:07, Alex Besogonov wrote:
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.
_______________________________________________ rules-dev mailing list rules-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev