Given the variable name, Wolfgang is probably right; but if it's not
that, then it could be the value object problem; see http://www.jessrules.com/jess/docs/71/java.html#equals_and_hashcode
.
On Mar 29, 2009, at 10:32 PM, Jason Morris wrote:
Hi Ernest,
I asserted a bean into working memory via (add) using its default
behavior. Right now, the bean does not have PropertyChangeSupport
wired up.
Now, I've added a call to (update) at the end of rules that modify
this bean so as to manually update the underlying shadow fact as the
docs suggest (See 5.3.3. Responding to changes).
However, when I run the app, I <generically> get:
Jess reported an error in routine
DefinstanceList.getShadowFactForObject
while executing (update ?fact)
while executing defrule ...
Message: Object not a definstance:
Now, I thought that was odd, since the docs say that (add) is just a
general form of (definstance), so I'd expect my add-ed bean to be a
definstance nonetheless.
What am I missing?
Cheers,
Jason
-----------------------------------------------------------
Morris Technical Solutions LLC
consult...@morris-technical-solutions.com
(517) 304-5883
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users
y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov
.
--------------------------------------------------------------------
---------------------------------------------------------
Ernest Friedman-Hill
Informatics & Decision Sciences, Sandia National Laboratories
PO Box 969, MS 9012, Livermore, CA 94550
http://www.jessrules.com
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--------------------------------------------------------------------