Jasper Report Plugin skips every secong page?!

Hi everyone,

for some reason I’m not able to get jasper report running properly.
I have no issues buildung a single page report. All the data is in the corepsonding fields.

Now I have a multi-page report. The foundset is a table with 7 rows.
I call the report with:

function onActionCreateReport(event) {
	plugins.jasperPluginRMI.runReport(foundset,'PQI_report_A4.jrxml',null,'view',vParameters)
 }

1st page is fine
2nd page is missing
3rd page is fine again
4th page missing again
and so on…

For some reason something does not circle trough the foundset properly, but all the data is filled in. No NULL or blank entries.
The report is designed with the latest JaspersoftStudio and I also toggled the settings for “When No Data Type” and it doesn’t change this behavior.
Does anyone have any idea?

Cheers,
Alexander

Hi Alexander,

You’re saying: all data is there (so I assume all 7 records) but every 2nd page is blank, which if I’m reading correct should result in 14 pages.
If that’s the case the issue is most likely the report itself.
Probably the band(s) are configured in such a way that it generates a blank page, probably due to the band or combination of bands having a height that’s exceeding 1 page.

Hope this helps in tracking down the issue.
In case you need more community-support, it would help if you could post the jrxml file

Hi Marc,

I attached the report (it’s actually a jrxml file, I had to rename it to PDF in order to upload it. Just name it back to jrxml)

The issue is not that I get blank pages. The issue is that instead of 7 pages, because I have 7 rows in the foundset, I only get 4 pages.
Every second page is not generated.

PQI_report_A4.pdf (4.31 KB)

[SOLVED]
For some reason the data was not visible when it was in the band DETAIL1 if the jasper report.
We moved it to the COLUM HEADER band and this solved it.