<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div><br></div><div>I encountered a strange problem these days, I declared a new class a.b in drl file using keyword "declare", it has too many properties, larger than 64, then when fire rules, it threw <b>ClassCastException</b>, told me class a.b cannot be casted to a.b, but actually these are same class.</div><div><br></div><div>I tried to remove some properties made it less than 64, no CCE when fire rules.</div><div><br></div><div>This just happened in my product environment, if I run the rules in a pure drools environment in Eclipse, no exception even the count is larger than 64, anybody know why this happened?</div><div><br></div><div>The version of drools we used in our production is 6.0, we forked the code from GitHub, so maybe it's not up to date.</div><div><br></div><div>Thanks,</div><div>Richie<br></div></body></html>