poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: how i read blank cells by HSSF
Date Thu, 01 Nov 2007 11:38:53 GMT
On Wed, 31 Oct 2007, teena21 wrote:
> aaa	1
> bbb	2
> ccc	3
> 	4
> ddd	5
> eee	6
>
> it gives null point exception at line no. 4

You need to check if the row is null first, then fetch the call and check 
if it is null. You can have either of them be null if that area of the 
file has never been written to.

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message