https://issues.apache.org/bugzilla/show_bug.cgi?id=47247

           Summary: Initialisation of record 0x850 left 3060 bytes
                    remaining still to be read.
           Product: POI
           Version: 3.5-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I get the following issue with the following record when parsing with
ExcelExtractor:

org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException:
Initialisation of record 0x850 left 3060 bytes remaining still to be read.
    at
org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream.java:124)
    at
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:402)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:277)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:202)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:184)

BiffViewer gives me the following error when dealing with the spreadsheet in
question:

     [java] Offset=0x000359F4(219636) recno=9202 sid=0x08C9 size=0x0018(24)
     [java] [UNKNOWNRECORD] (0x8C9)
     [java]   rawData=[C9, 08, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
00, 00, 00, 00, 01, 00, 00, 00, 00, 00]
     [java] [/UNKNOWNRECORD]
     [java] 
     [java] org.apache.poi.hssf.record.RecordFormatException: Not enough data
(0) to read requested (6) bytes
     [java]     at
org.apache.poi.hssf.record.RecordInputStream.checkRecordPosition(RecordInputStream.java:185)
     [java]     at
org.apache.poi.hssf.record.RecordInputStream.readFully(RecordInputStream.java:250)
     [java]     at
org.apache.poi.hssf.record.RecordInputStream.readFully(RecordInputStream.java:246)
     [java]     at
org.apache.poi.hssf.record.chart.ChartEndObjectRecord.<init>(ChartEndObjectRecord.java:44)
     [java]     at
org.apache.poi.hssf.dev.BiffViewer.createRecord(BiffViewer.java:248)
     [java]     at
org.apache.poi.hssf.dev.BiffViewer.createRecords(BiffViewer.java:84)
     [java]     at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:398)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:2

-- 
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]

Reply via email to