https://issues.apache.org/bugzilla/show_bug.cgi?id=48852
Summary: Getting Duplicate PageSettingsBlock record (sid=0x89c)
with POI 3.6
Product: POI
Version: unspecified
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: critical
Priority: P2
Component: HSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
I'm getting this exception trying to open a .xls excel file. If I save the
file as a new file, the new file opens properly. This file opens fine with POI
3.0.
I would attach the file but I'm not sure if the content can be shared. If you
really need it then I can find out.
org.apache.poi.hssf.record.RecordFormatException: Duplicate PageSettingsBlock
record (sid=0x89c)
at
org.apache.poi.hssf.record.aggregates.PageSettingsBlock.checkNotPresent(PageSettingsBlock.java:227)
at
org.apache.poi.hssf.record.aggregates.PageSettingsBlock.readARecord(PageSettingsBlock.java:215)
at
org.apache.poi.hssf.record.aggregates.PageSettingsBlock.addLateRecords(PageSettingsBlock.java:639)
at org.apache.poi.hssf.model.Sheet.<init>(Sheet.java:222)
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.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:201)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:317)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:298)
at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:60)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]