Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email email@example.com with questions or issues requiring TIBCO review or response.
if someone came across this issue then let us know solution , tanks in advance.
I had the same behavior. In my case it was because I had "Page 1 of N" in the page footer. Because of this, JRS behaves like this:
- Renders first page as quickly as possible (including chart). Footer displays "Page 1 of"
- It calculates the full report.
- It updates the first page (includeing chart). Footer displays "Page 1 of 2".
In the case where step 2 takes 60 seconds... this behavior is great. You see page 1 very quickly, and then you see the updated version after the rest of the report is calculated.
But in the case where step 2 takes a few milliseconds... the report just appears to render twice. It's annoying. My immediate solution was to remove the Total Page calculation from the first page. That might work for you too.
You should log an enhancement request. (I already did, but it definitely adds to the urgency if community members log requests as well.)
The behaviour can be explicitly disabled per report by setting the net.sf.jasperreports.viewer.async property to false in the JRXML.
We did consider implementing a (configurable) interval in which to wait for the final page before rendering the incomplete page, but that didn't make it in 5.0. Log a feature request in the trackers to keep the improvement on our radar.