On 20/05/2010 17:09, Axelrod, Nelson wrote:
Can anyone explain what this ConsequenceException means?
Exception in thread "main"
_org.drools.runtime.rule.ConsequenceException_:
_java.lang.ClassCastException_:
org.drools.reteoo.AlphaNode$AlphaMemory cannot be cast to
org.drools.reteoo.BetaMemory
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
org.jcvi.annotation.rulesengine.RulesEngine.fireAllRules(_RulesEngine.java:210_)
at org.jcvi.annotation.Aruba.run(_Aruba.java:311_)
at org.jcvi.annotation.RunTest.main(_RunTest.java:55_)
Nelson
Should be fixed in 5.1 M2:
http://www.jboss.org/drools/downloads.html
Mark
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users