Thanks Otto, but I am pretty sure that the signature of the invoked method is "public int getCount()"
I suspect there is something wrong in either commons-beanutils or commons-jexl that triggers the int->long type promotion of the expression. I remember James fixed a bug like that some while ago. I will dig into it as time permits and notify the list if something needs to be changed. Thanks, Hristo __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>