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 2008/07/09 16:19:08 UTC

DO NOT REPLY [Bug 45367] New: when maxRowNum is 0 , HSSFSheet#removeRow() does not work

https://issues.apache.org/bugzilla/show_bug.cgi?id=45367

           Summary: when maxRowNum is 0 , HSSFSheet#removeRow() does not
                    work
           Product: POI
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: rokugensai@gmail.com


when HSSFSheet has only one row, HSSFSheet#removeRow() does not work.

stack trace is...

java.lang.IllegalArgumentException: Invalid row number (-1) outside allowable
range (0..65535)
        at org.apache.poi.hssf.usermodel.HSSFRow.setRowNum(HSSFRow.java:196)
        at org.apache.poi.hssf.usermodel.HSSFSheet.getRow(HSSFSheet.java:335)
        at
org.apache.poi.hssf.usermodel.HSSFSheet.findLastRow(HSSFSheet.java:269)
        at
org.apache.poi.hssf.usermodel.HSSFSheet.removeRow(HSSFSheet.java:243)

the version is poi-3.1-FINAL.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 45367] when maxRowNum is 0 , HSSFSheet#removeRow() does not work

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


Josh Micich <jo...@gildedtree.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Josh Micich <jo...@gildedtree.com>  2008-07-09 07:59:03 PST ---
Fixed in svn r675218


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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