In the PoijiHandler, if the header is null, but the row below the header contains a value, the indexToTitle.get(column) will throw a null pointer exception, which happened in a scenario of mine.
ExcelCellsJoinedByName excelCellsJoinedByName = field.getAnnotation(ExcelCellsJoinedByName.class); if (excelCellsJoinedByName != null) { String titleColumn = indexToTitle.get(column).replaceAll("@[0-9]+", "");
I beleive we should add a null check on indexToTitle.get(column), before calling .replaceAll
In the PoijiHandler, if the header is null, but the row below the header contains a value, the indexToTitle.get(column) will throw a null pointer exception, which happened in a scenario of mine.
ExcelCellsJoinedByName excelCellsJoinedByName = field.getAnnotation(ExcelCellsJoinedByName.class); if (excelCellsJoinedByName != null) { String titleColumn = indexToTitle.get(column).replaceAll("@[0-9]+", "");I beleive we should add a null check on indexToTitle.get(column), before calling .replaceAll