Hello I am working with Jasper iReports, I call a method inside of one subreport created in Java when I run the application sends me the following error:
Cannot cast from JasperReport to String
value = (java.lang.String)(com.server.beans.GafJasperUtil.getReport(((java.lang.Object)parameter_SUBREPORT_GIS.getValue()), ((java.lang.String)parameter_SUBREPORT_DIR.getValue()) + "GIS-Report"));//$JR_EXPR_ID=45$
<---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
What should I modified?
Thank you.