I have a questions about POI and using the extract text method on .xls
files.
Is it uncommon to encounter the EOF Record exception and does that prevent
the extract of text?
Found EOFRecord before WindowTwoRecord was encountered
java.lang.RuntimeException: Found EOFRecord before WindowTwoRecord was
encountered
at
org.apache.poi.hssf.model.RecordOrderer.isEndOfRowBlock(RecordOrderer.java:4
26)
at
org.apache.poi.hssf.model.RowBlocksReader.<init>(RowBlocksReader.java:58)
at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:201)
at org.apache.poi.hssf.model.Sheet.createSheet(Sheet.java:158)
at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:287)
at
org.apache.poi.hssf.extractor.ExcelExtractor.<init>(ExcelExtractor.java:68)
at
org.apache.poi.hssf.extractor.ExcelExtractor.<init>(ExcelExtractor.java:65)
at
com.piifinder.file.ExcelStreamFactory.extractText(ExcelStreamFactory.java:16
)
Thanks
Charles