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

            Bug ID: 57093
           Summary: LeftoverDataException: Initialisation of record 0x31
                    left 22 bytes remaining still to be read
           Product: POI
           Version: 3.11-dev
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 32111
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32111&action=edit
xls file which is causing the problem

The attached file causes the following exception to be thrown:

LeftoverDataException: Initialisation of record 0x31 left 22 bytes remaining
still to be read


org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException:
Initialisation of record 0x31 left 22 bytes remaining still to be read.
    at
org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream.java:156)
    at
org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord(RecordFactoryInputStream.java:256)
    at
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:480)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:315)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:278)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:213)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:361)
    at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:342)
    at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:84)
    at com.miraisolutions.xlconnect.Workbook.<init>(Workbook.java:92)
    at com.miraisolutions.xlconnect.Workbook.<init>(Workbook.java:99)
    at com.miraisolutions.xlconnect.Workbook.getWorkbook(Workbook.java:1300)
    at com.miraisolutions.xlconnect.Workbook.getWorkbook(Workbook.java:1318)
    at
com.miraisolutions.xlconnect.integration.r.RWorkbookWrapper.<init>(RWorkbookWrapper.java:43)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
    at RJavaTools.newInstance(RJavaTools.java:352)

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