<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Any ideas what the svn commit revision was I'd like to patch our code as we're trying to get to a production state and this plus the issue reported by Jason Smith at&nbsp;<a href="http://drools-java-rules-engine.46999.n3.nabble.com/no-subject-tt48858.html#a48858">http://drools-java-rules-engine.46999.n3.nabble.com/no-subject-tt48858.html#a48858</a> are holding us back.<div><br></div><div>Any pointers you have here would be appreciated. As well as a review of his code for fixing the removeFactHandle issue pointed out in that thread so I can try to apply these patches and see if these issues are fixed.</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div>-- Paul Ryan</div></span>
</div>
<br><div><div>On Apr 30, 2010, at 8:49 AM, Edson Tirelli wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br>&nbsp;&nbsp; Paul,<br><br>&nbsp;&nbsp; I believe this is related to a problem I fixed in trunk a couple weeks ago. Can you please test trunk and let me know if the problem persists?<br><br>&nbsp;&nbsp; Thank you,<br>&nbsp;&nbsp;&nbsp; Edson<br><br><div class="gmail_quote">
2010/4/29 Paul Ryan <span dir="ltr">&lt;<a href="mailto:pryan@infotrustgroup.com">pryan@infotrustgroup.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
We're receiving some error messages that we don't understand from rules that had conditionals that worked and now don't (no upgrade or anything like that, they just stopped working), any clues as to what kinds of things to look for when we get an error like the following? (if not we can try to pair down to an a test case)<br>

<br>
org.drools.runtime.rule.ConsequenceException: java.lang.ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:23)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:943)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:885)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1086)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:660)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:627)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:183)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.rules.engine.RulesManager.runRules(RulesManager.java:353)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.util.rules.RuleFileUtil.runRules(RuleFileUtil.java:406)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.util.rules.RuleFileUtil.runRules(RuleFileUtil.java:370)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.util.rules.RuleRunner.run(RuleRunner.java:395)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.util.rules.RuleRunner.call(RuleRunner.java:193)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.jobs.services.auth.EditionsRulesJobRunner.runRules(EditionsRulesJobRunner.java:87)<br>
Caused by: java.lang.ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.EvalConditionNode.retractLeftTuple(EvalConditionNode.java:199)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:159)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:68)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.JoinNode.retractLeftTuple(JoinNode.java:231)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:239)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.reteoo.EntryPointNode.retractObject(EntryPointNode.java:195)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1416)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1360)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:141)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:154)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.what.Rule_Transform_SGML_to_XML_0.consequence(Rule_Transform_SGML_to_XML_0.java:48)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at com.infotrustgroup.what.Rule_Transform_SGML_to_XML_0ConsequenceInvoker.evaluate(Rule_Transform_SGML_to_XML_0ConsequenceInvoker.java:34)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:934)<br>
 &nbsp; &nbsp; &nbsp; &nbsp;... 11 more<br>
<br>
Thanks in advance for your help with this,<br>
<br>
-- Paul Ryan<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br> &nbsp;Edson Tirelli<br> &nbsp;JBoss Drools Core Development<br> &nbsp;JBoss by Red Hat @ <a href="http://www.jboss.com/">www.jboss.com</a><br>
_______________________________________________<br>rules-users mailing list<br><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/rules-users<br></blockquote></div><br></div></body></html>