Thanks Frank. I'm heading out of town to conduct some training. When I get back
I'll fix this if no one beats me to it.

Frank Segieth wrote:

hi andrew,

today i started to user your poi framework to test my
application against an existing exel table.
i found out, that in
org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(Sheet
sheet)
in line 171: hrow.createCellFromRecord(cval);
my tests chash when i try the line from your HOW-TO

FileOutputStream out = new
FileOutputStream("workbook.xls");
// create a new workbook
HSSFWorkbook wb = new HSSFWorkbook();


so i changed the line 171 to:
if (hrow != null) hrow.createCellFromRecord(cval);

i would not write this mail if i had not seen the
original line in the 1.8.0 sources too.

cu
frank

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to