poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45367] New: when maxRowNum is 0 , HSSFSheet#removeRow() does not work
Date Wed, 09 Jul 2008 14:19:08 GMT
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


Mime
View raw message