java.nio.BufferOverflowException error running Jasper reports

Document ID : KB000093117
Last Modified Date : 26/04/2018
Show Technical Document Details
Issue:
When running reports in Jasper errors are displayed without running the report.
Cause:
This is caused by running reports that are not meant to be ran as a main report.
I.e. Sub Reports are being run manually when the parent report should be run first.
Resolution:
Best Practice on running report in Jasper:

1. Go to View -> Repository in the Jasper Console
2. Expand: Public -> ca -> Spectrum -> reports -> Desired folder, like Asset -> All/Group/Individual

Reports should be run out of these folders, however avoid the drilldown reports directory.
These are sub reports and will not run.

You can also run the various dashboards available for Spectrum here by selecting the "dashboards" folder instead of "reports".
There are main dashboards that can be run, and then dashlets that could also be run individually.