[rules-users] threw error java.lang.ClassCastException: org.drools.reteoo.FromNode$FromMemory cannot be cast to org.drools.reteoo.BetaMemory

Davide Sottara dsotty at gmail.com
Tue May 7 21:26:02 EDT 2013


Ejaz, without seeing the "original" rule and the
"updated-so-that-it-will-not-fire" version of the same,
there is little we can do.

Are you by chance replacing something like

Pattern( field == $previouslyBoundVariable )
with ?
Pattern( field == $previouslyBoundVariable ) from $nowhere

Problem is, there could be zillions of possibly suspect cases, and
nobody in the community
has the time to try them all. I understand that you may not be in a
position to release your rules to
the public, but it's common practice to "de-identify" rules by replacing
class names and literal
values with "Foos" and "Bars", so to preserve the structure of the logic
without exposing its meaning -
which out of its context would probably make no sense anyway.

Thanks
Davide



On 05/07/2013 10:43 AM, mohdejaz74 wrote:
> And it is same rule which is updated always
>
>
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/threw-error-java-lang-ClassCastException-org-drools-reteoo-FromNode-FromMemory-cannot-be-cast-to-orgy-tp4023497p4023714.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list