Bug 28801

Summary: Cloning in a cloned sheet
Product: POI Reporter: Horst Fiedler <horst.fiedler>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P3    
Version: 2.0-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: other   

Description Horst Fiedler 2004-05-06 10:24:48 UTC
I'v seen some old clonebugs in the database but that happens
in poi-2.5-final-20040302.jar and was ok with poi-2.0-pre3

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:194)
        at org.apache.poi.hssf.model.Sheet.cloneSheet(Sheet.java:301)
        at org.apache.poi.hssf.usermodel.HSSFSheet.cloneSheet(HSSFSheet.java:114)
        at
org.apache.poi.hssf.usermodel.HSSFWorkbook.cloneSheet(HSSFWorkbook.java:339)
        at com.tifff.Spread2.processADD(Spread2.java:413)
        at com.tifff.activator.Spread$SpreadGenerator.run(Spread.java:163)
        at java.lang.Thread.run(Thread.java:534)
Comment 1 juergen 2005-11-22 15:45:00 UTC
this also happens in 2.5.1 final
Comment 2 Yegor Kozlov 2008-12-29 09:38:13 UTC
Try the latest POI-3.5-beta4. If the problem persists, re-open this bug and
attach the problem file and sample code to reproduce it.

Yegor
Comment 3 Horst Fiedler 2009-01-02 14:25:07 UTC
Retry using unmodified poi-3.5-beta4-20081128.jar didnt show the problem anymore.
Up till now i was using a modified version of poi-2.5.1-final-20041020.jar to overcome the mentioned problem. I suggest to close the report.