Bug 45964 - HSSFWorkbook(fs) fails to open workbook with textboxes linked to a cell
HSSFWorkbook(fs) fails to open workbook with textboxes linked to a cell
Status: RESOLVED FIXED
Product: POI
Classification: Unclassified
Component: HSSF
3.2-dev
PC Windows XP
: P2 normal (vote)
: ---
Assigned To: POI Developers List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-10-07 19:04 UTC by Laird Trimble
Modified: 2008-10-09 19:09 UTC (History)
0 users



Attachments
Test file to demonstrate the bug (13.50 KB, application/vnd.ms-excel)
2008-10-07 19:05 UTC, Laird Trimble
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laird Trimble 2008-10-07 19:04:28 UTC
HSSFWorkbook wb = new HSSFWorkbook(fs) fails with the following error:

Error org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance

When reading a workbook that contains a sheet that contains an embedded chart that contains a textbox linked to a worksheet cell
Comment 1 Laird Trimble 2008-10-07 19:05:33 UTC
Created attachment 22688 [details]
Test file to demonstrate the bug
Comment 2 Josh Micich 2008-10-09 18:09:39 UTC
Fixed in svn r703302.

Junits added. Major clean-up in TestTextObjectRecord
Comment 3 Laird Trimble 2008-10-09 19:09:12 UTC
Thanks Josh for fixing this so quickly!

Laird