Bug 44693 - HSSFSheet.rowIterator() return more rows than sheet has
Summary: HSSFSheet.rowIterator() return more rows than sheet has
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 09:59 UTC by Wilson Albornoz
Modified: 2008-03-28 06:34 UTC (History)
0 users



Attachments
Excel to make the error (39.50 KB, application/octet-stream)
2008-03-27 09:59 UTC, Wilson Albornoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wilson Albornoz 2008-03-27 09:59:28 UTC
Created attachment 21722 [details]
Excel to make the error

HSSFSheet.rowIterator() returns more rows than the sheet has. In the attached book, you can see 713 rows with information, but the iterator stops in the 1411 row.
Comment 1 Nick Burch 2008-03-28 06:34:55 UTC
I've just written a unit test using your test excel file. With it, I get exactly the right number of rows back from the iterator (713 rows)

You can see the working test in a svn checkout:
src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java#test44693()