On Wed, 31 Oct 2007, teena21 wrote:
when i read cells of it if cell is blank then it throws null point
exception
You should check to see if the cell object is null. There's a difference
between no cell record existing, and existing but is blank, which you'll
need to be aware of.
Something more like:
if(cell == null || cell.getCellType == HSSFCell.CELL_TYPE_BLANK) {
System.out.println("Blank cell");
}
ought to do you
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]