Bug 44693

Summary: HSSFSheet.rowIterator() return more rows than sheet has
Product: POI Reporter: Wilson Albornoz <wilson.albornoz>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Excel to make the error

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()