Skip to content

Commit

Permalink
Xlsx-report causes 'Index out of bounds' exception #178
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavrilov-Ivan committed Mar 15, 2023
1 parent 6aed66b commit 7ecfb13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ protected List<Cell> copyCells(BandData band, Range templateRange, List<Row> res
List<Cell> templateCells = new ArrayList<>(cellsForOneRowRange.values());
Row templateRow = !templateCells.isEmpty() ?
(Row) templateCells.get(0).getParent() :
resultSheet.getSheetData().getRow().get(oneRowRange.getFirstRow() - 1);
resultSheetRows.get((int) (firstRow.getR() + i - 1));

createFakeTemplateCellsForEmptyOnes(oneRowRange, cellsForOneRowRange, templateCells);

Expand Down

0 comments on commit 7ecfb13

Please sign in to comment.