You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2014/10/14 20:54:40 UTC

[Bug 57093] New: LeftoverDataException: Initialisation of record 0x31 left 22 bytes remaining still to be read

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: dev@poi.apache.org
          Reporter: martin.studer@mirai-solutions.com

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


[Bug 57093] LeftoverDataException: Initialisation of record 0x31 left 22 bytes remaining still to be read

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57093

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
This error is quite similar to one of the cases in bug 57104, we verified there
that POI complies to the Spec and the file may be not 100% built according to
the spec. 

How did you produce this file? In MS Excel? OpenOffice? Or with some other
software?

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


[Bug 57093] LeftoverDataException: Initialisation of record 0x31 left 22 bytes remaining still to be read

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57093

--- Comment #2 from Martin Studer <ma...@mirai-solutions.com> ---
I got the file from another user which confirmed that it was produced in MS
Excel.

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