#1 2024-01-11 17:24:04

stefano.orlandi
Member
From: Italy
Registered: 2023-03-22
Website

Error exporting JXLS Template

Hi,
I've got the following error exporting a report which as a JXLS template associated.
Report is working ok, but if I select an increasing number of rows (es. 50.000) I've got the following error:

net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorException:

RecordFormatException: Tried to read data but the maximum length for this record type is 100,000,000. If the file is not corrupt and not large, please open an issue on bugzilla to request increasing the maximum allowable size for this record type. You can set a higher override value with IOUtils.setByteArrayMaxOverride()

Is it possibile to configure / increase this limit?

Kind regards,
Stefano

Offline

#2 2024-01-11 19:05:26

Marcel Berger
InfoFabrik
Registered: 2012-03-14
Website

Re: Error exporting JXLS Template

Hi Stefano,

you can set this parameter:
org.apache.poi.util.IOUtils.setByteArrayMaxOverride(2_147_483_647);
at reportserver filesystem in path /bin/onstartup.d with your own script.

After then ReportServer will load your settings at startup.

greatings
Marcel

Offline

Board footer

Powered by FluxBB