[rules-users] Planner 5.3.Final - "presumedScore is corrupted" when using "update" on the rules working memory => shadow proxies problems?
guyramirez
guyramirez at hotmail.com
Sat Dec 3 00:08:45 EST 2011
> WorkingMemory.getClass().getPackage().getSystem*Domain() or something
similar
> which should output something like drools-core-5.3.0.Final.jar
I got:
this.workingMemory.getClass().getPackage()
(java.lang.Package) package org.drools.reteoo, Drools :: Core, version
5.3.0.Final
> - In Drools Expert, there are 2 classes named WorkingMemory and also 2
> named FactHandle.
> Planner 5.3 is still using those in the org.drools (which are the older
> ones), not those in org.drools.runtime.rule (which are the newer ones).
> Do a global search for "import org.drools.runtime.rule". That should
>give no results.
I got no results back but I ran the search in JBoss Studio against the
binaries. Not sure this search should work.
Yes I can see the two classed when I search for the types in the IDE.
Anything else I could check?
I have been playing with the hashCode implementations of the facts and
planning entity but still no luck. I am assuming Expert is very dependant of
the hash code results. For an update of a fact in the working memory, would
Expert expect the hash to change between the original fact and the new
updated one?
Guy
--
View this message in context: http://drools.46999.n3.nabble.com/Planner-5-3-Final-presumedScore-is-corrupted-when-using-update-on-the-rules-working-memory-tp3546932p3556532.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list