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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to