Hi I call a java class's function in my report, but when the function's parameter is BigDecimal and the value is null, the report won't call this function and the field will display null. for example: If there is a function in a java class, and a report will call this function : public static String getNumber(BigDecimal number){ return "number: "+ number; } if the numbe's value is null, the report won't execute this function when exporting report. is it a bug? This problem happens when I upgrade jasperreport from 3.7.0 to 4.0. and I found a similar issue by another report: http://jasperforge.org/projects/jasperreports/tracker/view.php?id=5138 Post Edited by lance at 03/23/2011 01:49