Hi all,
I've just updated to drools 5.0CR1.
Before I had this kind of expression:
ksession.executeIterable(objects) with objects ist a list containing
different kind of objects
and this worked perfectly.
after updating, I use the forementioned execute(Iterable obj) on the same
list of objects, but I got the class cast exception:
12:13:18,718 INFO [STDOUT] [] [2009:03:72 12:03:718:info] KnowledgeAgent
new KnowledgeBase now built and in use
12:13:19,156 ERROR [myClass.Interceptor] []
org.drools.base.mvel.MVELEvalExpression@14e4952 :
java.lang.ClassCastException: java.lang.Integer
org.drools.RuntimeDroolsException:
org.drools.base.mvel.MVELEvalExpression@14e4952 :
java.lang.ClassCastException: java.lang.Integer
at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:122)
at
org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:180)
at
org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)
at
org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:34)
at
org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:189)
at
org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:117)
at
org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:28)
at org.drools.reteoo.FromNode.evaluateAndPropagate(FromNode.java:156)
Could this be a problem from mvel or is it eventually my code that causes
this? (no changed on my code has been made before)
many thanks for hints
Regards
--
View this message in context:
http://www.nabble.com/ClassCastException-with-5.0CR1-on-execute%28Iterabl...
Sent from the drools - user mailing list archive at
Nabble.com.