Bug 14487 - worksheet cloning doesn't work until all records implement clone
Summary: worksheet cloning doesn't work until all records implement clone
Status: RESOLVED DUPLICATE of bug 15050
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2002-11-12 19:20 UTC by Dennis Doubleday
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Doubleday 2002-11-12 19:20:13 UTC
I attempted to use the HSSFWorkbook.cloneSheet() method and got:

java.lang.RuntimeException: The class
org.apache.poi.hssf.record.ColumnInfoRecord needs to define a clone method

	at org.apache.poi.hssf.record.Record.clone(Record.java:247)
	at org.apache.poi.hssf.model.Sheet.cloneSheet(Sheet.java:282)
	at org.apache.poi.hssf.usermodel.HSSFSheet.cloneSheet(HSSFSheet.java:147)
	at  org.apache.poi.hssf.usermodel.HSSFWorkbook.cloneSheet(HSSFWorkbook.java:341)
Comment 1 Avik Sengupta 2002-12-13 04:49:14 UTC

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