Summary: | LeftoverDataException with 0x23 Record | ||
---|---|---|---|
Product: | POI | Reporter: | Jonathan Holloway <jonathan.holloway> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | jonathan.holloway |
Priority: | P2 | ||
Version: | 3.5-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Jonathan Holloway
2009-05-20 16:45:08 UTC
Thanks for the hex dump - it made it easy to reproduce this error. This bug was manifested slightly differently on trunk (A very specific RecordFormatException instead of LeftoverDataException). Somehow you seem to be missing the fix for bug 44792 Fixed in svn r777275 junit added The sample ExternalNameRecord seems to be a DDE link named '010672AT0 MUNI...'. Are you able to give a quick description of how to create a similar DDE link via the standard Excel GUI? Regarding your fix for RecordInputStream, this is something you should only ever apply locally (definitely not in production), knowing that POI may silently corrupt Excel files as a a result. This code used to be very lax, and many bugs reported here were actually obscure downstream effects of POI ignoring unread BIFF record data. |