Open Stromner opened 7 years ago
I strongly suspect this is not because of the number of rows but because of the data in the row. It may still be a bug, could you provide the XML content of the row?
I can not, it's data related to work. But it got the same format as the earlier 1M rows. Have you tried reading any row past 1M in a document? It should trigger the error.
Ran into this issue for a file I'm working on that is close to 1,5 million rows and covers two sheets.
This is the basic iterator I'm running: for(Row row:wb.getSheetAt(0)){
}
When it get to row 1 million I get the following error: at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at com.monitorjbl.xlsx.impl.StreamingSheetReader.handleEvent(StreamingSheetReader.java:104) at com.monitorjbl.xlsx.impl.StreamingSheetReader.getRow(StreamingSheetReader.java:76) at com.monitorjbl.xlsx.impl.StreamingSheetReader.access$100(StreamingSheetReader.java:37) at com.monitorjbl.xlsx.impl.StreamingSheetReader$StreamingRowIterator.hasNext(StreamingSheetReader.java:370)