poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helfi <stefan_helf...@t-online.de>
Subject Re: Null pointer Exception while reading xls empty row
Date Thu, 22 Sep 2011 07:36:30 GMT
for (Row row : sheet) {
	// Skip empty rows
	if (row == null) {
		continue;
	}

        //Iterate over all cells
	for (Cell cell : row) {
               // Skip empty cells
	       if (row == null) {
		     continue;
	       }
		...			
	}
}

--
View this message in context: http://apache-poi.1045710.n5.nabble.com/Null-pointer-Exception-while-reading-xls-empty-row-tp4829181p4829268.html
Sent from the POI - Dev mailing list archive at Nabble.com.

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


Mime
View raw message