hey folks, i get an evaluation error for parsing a string to an int with "Integer.valueOf(<string-param>)". <parameter name="s_incident" class="java.lang.String" isForPrompting="false"> <defaultValueExpression> ![CDATA[new String("")]] </defaultValueExpression></parameter><parameter name="q_incident" class="java.lang.Integer" isForPrompting="false"> <defaultValueExpression> ![CDATA[iF($P{s_incident}.trim().length() > 0,Integer.valueOf($P{s_incident}),new java.lang.Integer(0))]] </defaultValueExpression></parameter>[/code]the string parameter is used as input control in the JasperReporting Server (i want the field to be blank at the beginning). the int parameter is used in the sql query. Hope someone can help me.. best regards, Philipp