Bug 44914 - Fix/suppress warning message "WARN. Unread n bytes of record 0xNN"
Summary: Fix/suppress warning message "WARN. Unread n bytes of record 0xNN"
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 23:54 UTC by Josh Micich
Modified: 2008-12-02 00:56 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Micich 2008-04-30 23:54:51 UTC
Biggest offender is ColumnInfoRecord:
WARN. Unread -1 bytes of record 0x7d"

FileSharingRecord:
WARN. Unread -1 bytes of record 0x5b

FormulaRecord:
WARN. Unread 10 bytes of record 0x6
Comment 1 Josh Micich 2008-05-01 00:40:29 UTC
Fixed ColumnInfoRecord and FileSharingRecord in svn r652446

FormulaRecord still needs further investigation for the unexplained 10 bytes following a formula containing IntersectionPtg
Comment 2 Josh Micich 2008-12-02 00:56:00 UTC
Fixed last known outstanding problem in HyperlinkRecord in svn r719546.

Changed warning message to error (unchecked exception) in svn r722401.

This change was made because more often than not discarding record data will introduce errors into the re-serialized workbook.  From now on, POI will no longer ignore this problem; if any record fails to completely read its BIFF data, an unchecked exception will be thrown.

Some modifications were required in BiffViewer since this problem seems to occur with the versions of drawing records that it uses.  Perhaps this can also be cleaned up once those records have been fixed.