https://bz.apache.org/bugzilla/show_bug.cgi?id=51781
--- Comment #8 from PJ Fanning <[email protected]> --- I wrote a test for your file and there are no null rows. @Test void rowCount() throws IOException { try (XSSFWorkbook wb1 = openSampleWorkbook("FILE_WITH_EMPTY_ROWS.xlsx")) { XSSFSheet sheet = wb1.getSheetAt(0); assertEquals(11, sheet.getPhysicalNumberOfRows()); assertEquals(10, sheet.getLastRowNum()); for (int i = 0; i < sheet.getPhysicalNumberOfRows(); i++) { XSSFRow row = sheet.getRow(i); assertNotNull(row); assertEquals(i, row.getRowNum()); System.out.println("row " + i + " cells count: " + row.getPhysicalNumberOfCells()); } } } All rows have 5 cells. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
