Hello. An expert system we're developing runs fine under Jess 41b3,
yet now behaves incorrectly with Jess 41b4. The trouble appears to lie
with 'definstance'; upon assertion (definstance) and retraction
(retract) of a particular Java object, a subsequent invocation of
(definstance) using that same object returns FALSE and fails to
perform the assertion. I *am* able to assert an entirely new instance
of the same class, though.
I've examined the code for (definstance) in jess/reflect/ReflectFunctions;
the only spot that returns FALSE is the following:
// Make sure we're not already matching on this object
if (m_facts.get(o) != null)
return Funcall.FALSE();
Unfortunately, I've been unable to reproduce this behavior using a
trivial example, so it must be something that our rulebase
manifests. Please note that, after the first definstance/retract
sequence, the agenda is clear and the offending object is not on the
fact list (if that helps at all).
I'd sure like some help on this one, as I'm anxious to begin using
41b4. Thanks much.
Regards,
--
-------------------------------------------------------------
David E. Young
Fujitsu Network Communications "I claim not to have controlled
([EMAIL PROTECTED]) events, but confess plainly
that events have controlled me."
-- Abraham Lincoln (1864)
"Apology is Policy"
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------