Hi,
I'm using "poi-2.5.1-final-20040804" and I try to read an Excel file
with POI HSSF .
I have an exception when I use "HSSFWorkbook".
Here is my code:
try {
final FileInputStream input = new FileInputStream(argFile);
final POIFSFileSystem fs = new POIFSFileSystem(input);
final HSSFWorkbook wb = new HSSFWorkbook(fs);
...
} catch(final Exception e) {
logging exceptions
}
Here is the exception:
org.apache.poi.hssf.record.RecordFormatException: Unable to construct
record instance, the following exception occured: null
at
org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:237)
at
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
...
That works with "poi-2.0-pre1-20030517"...
Is it a bug in the version "2.5.1-final"?
I would like to know if wether a correction is avalaible or a newer
version of the jar format will be avalaible soon?
Thanks in advance
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]