Hi Lucian, I am facing same error, but I am not using int or long anywhere. following is the error I am facing: O @@@@: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : Source text : (!$F{dependantDOB1}.isEmpty() ? Boolean.TRUE : Boolean.FALSE) <reportElement x="284" y="500" width="100" height="9" isRemoveLineWhenBlank="true"> and this is that part of JRXML: <printWhenExpression><![CDATA[(!$F{dependantDOB1}.isEmpty() ? Boolean.TRUE : Boolean.FALSE)]]></printWhenExpression> would you happen to know what may have gone wrong in this case? Thanks in advance. </reportElement>