https://bz.apache.org/bugzilla/show_bug.cgi?id=57669
Bug ID: 57669
Summary: RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.FeatHdrRecord)
Product: POI
Version: 3.10-FINAL
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: HSSF
Assignee: [email protected]
Reporter: [email protected]
We received an excel file from an external source and trying to read the file
through POI, we are getting the exception below:
java.lang.RuntimeException: Unexpected record type
(org.apache.poi.hssf.record.FeatHdrRecord)
at
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:97)
~[poi-3.10.1.jar:3.10.1]
at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:166)
~[poi-3.10.1.jar:3.10.1]
at
org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:121)
~[poi-3.10.1.jar:3.10.1]
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:311)
~[poi-3.10.1.jar:3.10.1]
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:264)
~[poi-3.10.1.jar:3.10.1]
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:199)
~[poi-3.10.1.jar:3.10.1]
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:181)
~[poi-3.10.1.jar:3.10.1]
If the file is opened and saved thereafter, the exception no longer occurs and
the file is processed successfully.
--
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]