You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Report based on xlsx-template failed with 'Index out of bounds' exception if template has named range for band with empty cells and non-rendered rows before this band.
Create xlsx-template with one named range for band started not from the begining of document (e.g. from B2). Last row(s) of this range should be empty.
Create simple report with horizontal band refered to this named range.
Run report.
Error occurs in XlsxFormatter#copyCells(BandData band, Range templateRange, List<Row> resultSheetRows, Row firstRow, Worksheet resultSheet) because of mismatch of row indexes between template and result sheet.
Gavrilov-Ivan
changed the title
Reports: xlsx-report causes 'Index out of bound' exception
Reports: xlsx-report causes 'Index out of bounds' exception
Mar 13, 2023
Report based on xlsx-template failed with 'Index out of bounds' exception if template has named range for band with empty cells and non-rendered rows before this band.
Error occurs in
XlsxFormatter#copyCells(BandData band, Range templateRange, List<Row> resultSheetRows, Row firstRow, Worksheet resultSheet
) because of mismatch of row indexes between template and result sheet.https://forum.jmix.io/t/xlsx-report-ranged-names-not-working/2650
The text was updated successfully, but these errors were encountered: