Hi, thanks for your reply. But it was not the reason. I found the solution, namely the class in which the method is defined, must be imported in the jrxml file: <import value="packagename.classname"/> packagename is the package where the class is placed. It is important to put the import tag after the property tag and before the parameter tag. I hope this will help others. Thanks. Bye, Mary