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 2017/05/05 01:48:59 UTC

[Bug 60833] Initialisation of record 0x31 left 4 bytes remaining still to be read.

https://bz.apache.org/bugzilla/show_bug.cgi?id=60833

--- Comment #5 from lintongchuan <li...@qq.com> ---
I have the same exception when reading xls file
the stack trace 
org.apache.poi.hssf.record.RecordInputStream$LeftoverDataException:
Initialisation of record 0x31(FontRecord) left 4 bytes remaining still to be
read.
        at
org.apache.poi.hssf.record.RecordInputStream.hasNextRecord(RecordInputStream.java:177)
~[poi-3.16.jar:3.16]
        at
org.apache.poi.hssf.record.RecordFactoryInputStream.nextRecord(RecordFactoryInputStream.java:234)
~[poi-3.16.jar:3.16]
        at
org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:494)
~[poi-3.16.jar:3.16]
        at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:348)
~[poi-3.16.jar:3.16]
        at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:99)
~[poi-ooxml-3.16.jar:3.16]
        at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:182)
~[poi-ooxml-3.16.jar:3.16]
        at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:144)
~[poi-ooxml-3.16.jar:3.16]

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