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

           Summary: LeftoverDataException "Initialisation of record 0xB6"
                    in HSSF with latest svn version
           Product: POI
           Version: 3.5-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: [email protected]
        ReportedBy: [email protected]


With some of my XLS input files I get a LeftoverDataException like this:

Exception in thread "main"
org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException:
Initialisation of record 0xB6 left 6 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:367)
        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)
        at ExcelExtractor.openWorkbook(ExcelExtractor.java:668)

I tried with the latest update from svn from March 26.

There is no such exception opening the XLS file with POI3.1

The data file itself is confidential. What could I do to help debug this.


Regards,
Axel.

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