Open nkgsisaar opened 1 month ago
When adding a variable in JasperReports Studio there is a prompt displaying an error, also an error message is displayed after compiling the report.
Error in Studio can be seen here: https://community.jaspersoft.com/forums/topic/68693-jasper-report-70-cannot-invoke-netsfjasperreportsenginetypeincrementtypeenumequalsobject/
Error in CLI:
java.lang.RuntimeException: net.sf.jasperreports.jackson.util.JacksonRuntimeException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "variableExpression" (class net.sf.jasperreports.engine.design.JRDesignVariable), not marked as ignorable (11 known properties: "resetGroup", "initialValueExpression", "expression", "resetType", "incrementerFactoryClass", "name", "description", "incrementGroup", "incrementType", "calculation", "class"] ) at [Source: (ByteArrayInputStream); line: 44, column: 70] (through reference chain: net.sf.jasperreports.engine.design.JasperDesign["variable"] ->java.util.ArrayList[0] ->net.sf.jasperreports.engine.design.JRDesignVariable["variableExpression"] )
Yes, it is a JSS CE 7 bug. Will be fixed in the new Jaspersoft Studio release.
Thank you, Teodor
When adding a variable in JasperReports Studio there is a prompt displaying an error, also an error message is displayed after compiling the report.
Error in Studio can be seen here: https://community.jaspersoft.com/forums/topic/68693-jasper-report-70-cannot-invoke-netsfjasperreportsenginetypeincrementtypeenumequalsobject/
Error in CLI: