Bug 49368

Summary: Cannot insert image into a chart
Product: POI Reporter: Tao Jiang <thomasj>
Component: HSSFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.5-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   

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..