Code: Select all
WARN 37403 --- [nio-8080-exec-1] c.s.report.engine.parser.StiParser : Parser error: Field, method, or property is not found: 'CountData'
InputExpression: DataBand2.CountData = (8 - (TestData % 2)) position: 51
As far as I know, CountData is a built-in script.
Question:
To ensure these scripts work correctly, should I modify the MRT file creation process or adjust the Java code somewhere?
Java code is attached below:
Code: Select all
StiReport report = StiSerializeManager.deserializeReport(mrtReport);
StiXmlDatabase database = new StiXmlDatabase(name, xsd, xml);
report.getDictionary().getDatabases().add(database);
report.render();