poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53517] Row iteration on formatted Sheet raise Nullpointer Exception
Date Sat, 07 Jul 2012 11:37:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53517

Nick Burch <nick.burch@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #1 from Nick Burch <nick.burch@alfresco.com> ---
The Excel file format is a sparse format. If rows aren't used, and have never
been used, then they'll never be present in the file

If you only want defined rows, then use the RowIterator on a sheet. If you you
iterate between the FirstRowNum and LastRowNum, then you need to check that the
row isn't null before using it. See the website for more info on all of this

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