Create a bug in bugzilla and upload the problem file.
Yegor
I get the following error when reading certain XLS files with POI 3.2-FINAL
and POI 3.5 latest svn version
---
Exception in thread "main" java.lang.RuntimeException: Unexpected record
type (org.apache.poi.hssf.record.ContinueRecord)
at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:87)
at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:197)
at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:159)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:286)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:200)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:182)
at ExcelExtractor.openWorkbook(ExcelExtractor.java:529)
at ExtractorTest.main(ExtractorTest.java:57)
---
#529 of ExcelExtractor: wb = new HSSFWorkbook(new POIFSFileSystem(inp));
This doesn't happen when using POI 3.0 though.
Has anybody an idea how to avoid this Exception?
Ideally I hope for a fix in the coming 3.5 release and perhaps some hints to
end users
how to avoid this situation.
Thanks for any help,
Axel.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]