Bug 49368 - Cannot insert image into a chart
Summary: Cannot insert image into a chart
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.5-FINAL
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2010-06-01 10:51 UTC by Tao Jiang
Modified: 2015-05-31 21:32 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Tao Jiang 2010-06-01 10:51:55 UTC
I have a excel file that includes a chart. When I insert a image into the chart, constructor of HSSFWorkbook will fail. The call stack is following:

Exception: EX45D98152 org.apache.poi.hssf.record.RecordFormatException
Message: Unhandled Continue Record
  at org.apache.poi.hssf.record.RecordFactory.createRecords(InputStream in)
  at org.apache.poi.hssf.usermodel.HSSFWorkbook..ctor(DirectoryNode directory, POIFSFileSystem fs, Boolean preserveNodes)
  at org.apache.poi.hssf.usermodel.HSSFWorkbook..ctor(POIFSFileSystem fs, Boolean preserveNodes)
  at org.apache.poi.hssf.usermodel.HSSFWorkbook..ctor(InputStream s, Boolean preserveNodes)
  at org.apache.poi.hssf.usermodel.HSSFWorkbook..ctor(InputStream s)
Comment 1 Dominik Stadler 2015-05-31 21:32:00 UTC
There has been no update on this bug for a very long time, thus I am closing this as INVALID, there have been quite some changes in the meantime so please try this with the latest version of POI and if this is still a problem then please report a new bug together with sample code and/or sample xls-files..