[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
Wed May 8 16:24:42 EDT 2013


Even when you get the exception?
In other words, do you only have a single thread manipulating the
Knowledgebase
in your production environment?
I would implement Before/AfterKnowledgeBaseUnlocked and
Before/AfterKnowledgePackageAdded
to be 100% sure.
If the race condition can be excluded, I'll focus on the rebuild process
Thanks!



On 05/08/2013 01:11 PM, mohdejaz74 wrote:
> This is the order
>
> - beforeKnowledgeBaseLocked
> - afterKnowledgeBaseLocked
> - beforeRuleAdded or beforeRuleRemoved
> - afterRuleAdded or afterRuleRemoved
>
> It is same thread which does all four operations
>
>
>
> --
> 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-tp4023497p4023735.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