<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18385" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000000 size=2>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>I posted about caching and after some more investigation it appears the problem lies in just refreshing the rulebase.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I created a simple package that contains 1 excel decision table which has 1 rule [row] in it.&nbsp; I ran my application.&nbsp; Then rebuilt the package in the Guvnor and my application refreshed the rule base correctly.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I have other packages which contain many 100 rules if not 1000 rules all based on multiple excel based decision tables.&nbsp; If I run my application, then rebuild the package in the Guvnor, my application throws the exception.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>
<DIV><FONT face=Arial size=2><FONT face="Courier New" size=1>RuleAgent(Assembly) EXCEPTION (Fri Feb 26 12:02:32 EST 2010): java.lang.ClassCastException: org.drools.util.ObjectHashMap cannot be cast to org.drools.reteoo.BetaMemory. Stack trace should follow.<BR>org.drools.RuntimeDroolsException: java.lang.ClassCastException: org.drools.util.ObjectHashMap cannot be cast to org.drools.reteoo.BetaMemory</FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>It appears the problem occurs where there are many rules.&nbsp; Any ideas?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV></DIV></FONT></DIV></BODY></HTML>