[rules-users] doubt in using collections and nested objects

Sudhir M sudhir.cse at gmail.com
Thu Jan 7 09:33:50 EST 2010


Thanks Esteban for a quick reply.

But when I run the test case I get the following exception


Caused by: java.lang.ClassCastException:
org.drools.user.test.StudentCollectionTest$Student
	at org.drools.base.accumulators.JavaAccumulatorFunctionExecutor.accumulate(JavaAccumulatorFunctionExecutor.java:110)
	at org.drools.rule.Accumulate.accumulate(Accumulate.java:164)
	... 41 more

Do I need to change something to make this work?

Please help me in this regard.

FYI - I using drools 5.0



More information about the rules-users mailing list