On Apr 30, 2010, at 8:49 AM, Edson Tirelli wrote:
Paul,
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?
Thank you,
Edson
2010/4/29 Paul Ryan
<pryan@infotrustgroup.com>
Hi all,
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)
org.drools.runtime.rule.ConsequenceException: java.lang.ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory
at org.drools.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:23)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:943)
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:885)
at org.drools.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1086)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:660)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:627)
at org.drools.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:183)
at com.infotrustgroup.rules.engine.RulesManager.runRules(RulesManager.java:353)
at com.infotrustgroup.util.rules.RuleFileUtil.runRules(RuleFileUtil.java:406)
at com.infotrustgroup.util.rules.RuleFileUtil.runRules(RuleFileUtil.java:370)
at com.infotrustgroup.util.rules.RuleRunner.run(RuleRunner.java:395)
at com.infotrustgroup.util.rules.RuleRunner.call(RuleRunner.java:193)
at com.infotrustgroup.jobs.services.auth.EditionsRulesJobRunner.runRules(EditionsRulesJobRunner.java:87)
Caused by: java.lang.ClassCastException: org.drools.reteoo.RuleTerminalNode$TerminalNodeMemory cannot be cast to org.drools.reteoo.EvalConditionNode$EvalMemory
at org.drools.reteoo.EvalConditionNode.retractLeftTuple(EvalConditionNode.java:199)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:159)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:68)
at org.drools.reteoo.JoinNode.retractLeftTuple(JoinNode.java:231)
at org.drools.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:239)
at org.drools.reteoo.EntryPointNode.retractObject(EntryPointNode.java:195)
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1416)
at org.drools.common.AbstractWorkingMemory.update(AbstractWorkingMemory.java:1360)
at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:141)
at org.drools.base.DefaultKnowledgeHelper.update(DefaultKnowledgeHelper.java:154)
at com.infotrustgroup.what.Rule_Transform_SGML_to_XML_0.consequence(Rule_Transform_SGML_to_XML_0.java:48)
at com.infotrustgroup.what.Rule_Transform_SGML_to_XML_0ConsequenceInvoker.evaluate(Rule_Transform_SGML_to_XML_0ConsequenceInvoker.java:34)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:934)
... 11 more
Thanks in advance for your help with this,
-- Paul Ryan
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users