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