Bug 42949 - DrawingRecord is missing a clone method...
Summary: DrawingRecord is missing a clone method...
Status: RESOLVED DUPLICATE of bug 31795
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-21 06:51 UTC by Peter Fassev
Modified: 2008-01-09 03:06 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fassev 2007-07-21 06:51:00 UTC
I am getting the following error, during a cloning of a sheet:

java.lang.RuntimeException: The class org.apache.poi.hssf.record.DrawingRecord 
needs to define a clone method 
at org.apache.poi.hssf.record.Record.clone(Record.java:153) 
at org.apache.poi.hssf.model.Sheet.cloneSheet(Sheet.java:329) 
at org.apache.poi.hssf.usermodel.HSSFSheet.cloneSheet(HSSFSheet.java:124) 
at org.apache.poi.hssf.usermodel.HSSFWorkbook.cloneSheet
(HSSFWorkbook.java:497) 

The sheet has an image, which is obviously not cloneable within POI.
Comment 1 Nick Burch 2008-01-09 03:06:38 UTC

*** This bug has been marked as a duplicate of 31795 ***