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

mohdejaz74 mohdejaz74 at gmail.com
Fri Apr 26 20:05:58 EDT 2013


In my case, I dynamically add/remove/exec rules at run-time. KnowledgeBase
instance is constantly updated.

When a rule needs to be added or removed, I do it in temporary
KnowledgeBuilder instance. If there are no errors, I update main
KnowledgeBase instance using "addKnowledgePackages". I did'nt get any errors
... 

I do understand that this may be due to KB corruption. I use hasErrors() &
getErrors() to check if there are any errors. Do I need to check something
else?

Regards
Ejaz



--
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-tp4023497p4023566.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list