Error-message when running reports RPT-0020

Document ID : KB000122803
Last Modified Date : 10/12/2018
Show Technical Document Details
Question:
When running status reports, the RPT-0020 error randomly appears.  The report generation also takes a long time.

Steps to Reproduce:

1. 'Home' -> 'Reports and Jobs'

2. Select 'Project Status Detail' report

3. Fill in the fields > click on 'Submit'

Outcome: Receive RPT-0020 error.
Answer:
The end user did not choose any project in the parameter so the report was executed for all projects causing the following error:

Caused by: net.sf.jasperreports.governors.MaxPagesGovernorException: Report <report_name> exceeded the limit of 1,000 maximum pages.

Please make the parameter mandatory to select just one project rather than all of them.