poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48852] New: Getting Duplicate PageSettingsBlock record (sid=0x89c) with POI 3.6
Date Thu, 04 Mar 2010 02:27:04 GMT
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: dev@poi.apache.org
        ReportedBy: bzane@tomsawyer.com


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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message