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 2009/10/27 19:34:01 UTC
DO NOT REPLY [Bug 48068] New:
org.apache.poi.hssf.record.RecordFormatException: The content of an excel
record cannot exceed 8224 bytes
https://issues.apache.org/bugzilla/show_bug.cgi?id=48068
Summary: org.apache.poi.hssf.record.RecordFormatException: The
content of an excel record cannot exceed 8224 bytes
Product: POI
Version: 3.5-FINAL
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: robin.salkeld@sap.com
This bug is strongly related to this one:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46987
The symptom is very similar - the offending Excel file (which I can't attache
due to confidentiality issues) contains garbage data beyond the last EOFRecord.
The fix to bug #46987 ALMOST addresses the issue, but that fix assumes that the
next "record" immediately after the last EOFRecord can at least be read without
error by RecordInputStream#nextRecord(). In this case, however, the garbage
data ends up specifying an invalid data length.
It seems the best way to fix this would be for the code that fixes 46987 in
RecordFactoryInputStream#nextRecord() to be reordered to come before the call
to _recStream.nextRecord() currently immediately before it. Thus the check
would test against _recStream._nextSid instead of _recStream_currentSid.
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 48068]
org.apache.poi.hssf.record.RecordFormatException: The content of an excel
record cannot exceed 8224 bytes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48068
Maxim Valyanskiy <ma...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Maxim Valyanskiy <ma...@gmail.com> 2010-01-15 04:26:31 UTC ---
fixed in <a
href="http://svn.apache.org/viewvc?view=revision&revision=899608">r899608</a>
--
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org