Após corrigir algumas configurações (Java Compiler e Project Facets) nas propriedades do projeto, ele funcionou. Mas agora, apos inserir o parâmetro DATA_INI e DATA_FIM na CrossTab começou a dar este outro erro na compilação do relatório :
Errors compiling C:\Users\Robson\iReport5.6.0\Gasto_por_mes.jasper!
Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@52410ce5 net.sf.jasperreports.engine.JRException: Error compiling report design. at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:242) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:512) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
<<<< AQUI >>>>
Caused by: net.sf.jasperreports.engine.JRRuntimeException: Expression ID not found for expression <>.
at net.sf.jasperreports.engine.base.JRBaseObjectFactory.getCollectedExpressionId(JRBaseObjectFactory.java:449) at net.sf.jasperreports.engine.base.JRBaseObjectFactory.getExpression(JRBaseObjectFactory.java:426) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getExpression(JRAbstractObjectFactory.java:255) at net.sf.jasperreports.engine.base.JRBaseParameter.(JRBaseParameter.java:100) at net.sf.jasperreports.crosstabs.base.JRBaseCrosstabParameter.(JRBaseCrosstabParameter.java:51) at net.sf.jasperreports.engine.base.JRBaseObjectFactory.getCrosstabParameter(JRBaseObjectFactory.java:1586) at net.sf.jasperreports.crosstabs.base.JRBaseCrosstab.copyParameters(JRBaseCrosstab.java:141) at net.sf.jasperreports.crosstabs.base.JRBaseCrosstab.(JRBaseCrosstab.java:112) at net.sf.jasperreports.engine.base.JRBaseObjectFactory.visitCrosstab(JRBaseObjectFactory.java:1490) at net.sf.jasperreports.crosstabs.design.JRDesignCrosstab.visit(JRDesignCrosstab.java:302) at net.sf.jasperreports.engine.JRAbstractObjectFactory.getVisitResult(JRAbstractObjectFactory.java:89) at net.sf.jasperreports.engine.base.JRBaseElementGroup.(JRBaseElementGroup.java:84) at net.sf.jasperreports.engine.base.JRBaseBand.(JRBaseBand.java:80) at net.sf.jasperreports.engine.base.JRBaseObjectFactory.getBand(JRBaseObjectFactory.java:529) at net.sf.jasperreports.engine.base.JRBaseReport.(JRBaseReport.java:234) at net.sf.jasperreports.engine.base.JRBaseReport.(JRBaseReport.java:155) at net.sf.jasperreports.engine.JasperReport.(JasperReport.java:95) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:226) ... 3 more
Compilation running time: 453!