SubReport in Main Report – iReport4.5.1 and JasperReport 4.5-Collection of common programming errors
Did you deployed the sub-reports to the Jasper Report server?
Error loading object from : repo:SUB_REPORT_NAME
That means that the main report was not able to find a sub-report named “SUB_REPORT_NAME” insife the Jasper Server repository, it looks like you have not deployed the subreports to the server as a resource inside the main report.
In the iReport JS Repository Navigator you should se something like this:
My Report – Main.jrxml – Input Controls (folder) – Resources – Sub-report-1.jrxml – Sub-Report-2.jrxml
An internally in the main report you should refer to your sub-reports as:
....
.....