'Jaspersoft generated report error on >600 pages only
Using jaspersoft server api V6.5.1
Problem: Compiling a Report-(PDF) with >600 data items fails with below error.
Selecting <600 = no error. This tells me the report design is valid. Can anyone help me debug this?
----1. error message (again, only when selecting 600+ records)
Exception: net.sf.dynamicreports.report.exception.DRException: net.sf.jasperreports.engine.design.JRValidationException: Report design not valid :
1. The title section, the page and column headers and footers and the margins do not fit the page height.
stack: [net.sf.dynamicreports.jasper.builder.JasperReportBuilder.toJasperReport(JasperReportBuilder.java:293), net.sf.dynamicreports.jasper.builder.JasperReportBuilder.toJasperPrint(JasperReportBuilder.java:324), net.sf.dynamicreports.jasper.builder.JasperReportBuilder.export(JasperReportBuilder.java:599), net.sf.dynamicreports.jasper.builder.JasperReportBuilder.toPdf(JasperReportBuilder.java:536), dynamicreports.Rep3.exportReportFile(Rep3.java:5356), dynamicreports.Rep3.makeReport(Rep3.java:4988), dynamicreports.Rep3.main(Rep3.java:5974)]
----2. how report looks as final PDF (1 page each record)
----3. report design
----4. code of template: https://community.jaspersoft.com/questions/1192881/report-error-600-pages
Note: Since the complete version of this answer exceeds Stack Overflow's length limit, you'll need to head here: https://community.jaspersoft.com/questions/1192881/report-error-600-pages to read the extended version, with more tips and details.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


