Bug 28801 - Cloning in a cloned sheet
Summary: Cloning in a cloned sheet
Status: RESOLVED WORKSFORME
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-FINAL
Hardware: PC other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 10:24 UTC by Horst Fiedler
Modified: 2009-01-02 14:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.