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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]