<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Could you write a minimal unit test to reproduce this problem,
similar to the tests here:<br>
TruthMaintenanceTest<br>
<br>
Mark<br>
<br>
<br>
On 18/09/2010 21:07, Alex Besogonov wrote:
<blockquote
cite="mid:AANLkTi=wXQz5uetUV4F3kXneXKL-Qj4ve-Gz8UY6bwqC@mail.gmail.com"
type="cite">
<pre wrap="">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.
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>