Bug 63304

Summary: SXSSFRow.getRowNum() return -1
Product: POI Reporter: ni个小逗比 <631359746>
Component: SXSSFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 4.0.0-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description ni个小逗比 2019-04-01 03:30:15 UTC
when I init the SXSSFWorkbook with rowAccessWindowSize,set it to 100.if I call row0.getRowNum(),-1 will be returned when the row size exceed 100.
this code in SXSSFSheet : private final TreeMap<Integer,SXSSFRow> _rows = new TreeMap<>();
the first row will be flushed to disk when row size exceed rowAccessWindowSize,and the _rows just remove the first row but nothing record . so when I call row0.getRowNum(),-1 returned.
Comment 1 Dominik Stadler 2019-04-03 21:35:47 UTC
Can you provide some sample code that shows the problem. Preferably as self-sufficient unit-test?
Comment 2 Dominik Stadler 2019-04-23 20:39:20 UTC
No more information received and I don't see enough to reproduce an actual problem easily, so we cannot work on this for now. 

Please reopen this ticket with more information if this is still a problem for you.