https://bz.apache.org/bugzilla/show_bug.cgi?id=57869
Bug ID: 57869
Summary: getRow() returns null even when there is data
Product: POI
Version: 3.11-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
Im trying read a excel using HSSF which is a standard template used for
populating the logs. But getRow() on the sheet object is returning a null value
which looks weird. Here's my snippet:
fs = new NPOIFSFileSystem( new File( filePath + templateFile ), true );
wb = new HSSFWorkbook( fs.getRoot(), true );
sheet = wb.getSheetAt(0); //get first worksheet
//The following method is called to populate the sheet
populateLogFields( "", sheet.getRow(15) ); //Bank LOCKBX
The above line is getting failed which is getting the row as null. Not sure why
it behaves like this. Kindly do review it from your end.
Thanks,
Ashok R
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]