You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2019/04/01 03:30:15 UTC

[Bug 63304] New: SXSSFRow.getRowNum() return -1

https://bz.apache.org/bugzilla/show_bug.cgi?id=63304

            Bug ID: 63304
           Summary: SXSSFRow.getRowNum() return -1
           Product: POI
           Version: 4.0.0-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SXSSF
          Assignee: dev@poi.apache.org
          Reporter: 631359746@qq.com
  Target Milestone: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 63304] SXSSFRow.getRowNum() return -1

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63304

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
Can you provide some sample code that shows the problem. Preferably as
self-sufficient unit-test?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 63304] SXSSFRow.getRowNum() return -1

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63304

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |LATER

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org