Bug 24381 - ClassCastException in HSSF Cell - getCellFormula()
Summary: ClassCastException in HSSF Cell - getCellFormula()
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-pre3
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-04 12:01 UTC by Christian Nutz
Modified: 2005-05-20 03:51 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Nutz 2003-11-04 12:01:48 UTC
Exception inside getCellFormula() occours when try to do this: 

cell.setCellFormula(row.getCell().getCellFormula());

(cell, row and row.getCell() are not null !)

This happens also in new POI 2.0 RC1
Comment 1 Avik Sengupta 2003-11-04 17:34:13 UTC
Its impossible to debug, unless the code is compilable, you attach the workbook
on which the error occurs, and the actual exception. How is anybody supposed to
figure out what is wrong if even the Stacktrace is missing?
Comment 2 Avik Sengupta 2005-05-20 11:51:11 UTC
I'm sorry, but this is impossible to debug. I can see lots of cases where 

cell.setCellFormula(row.getCell().getCellFormula());

works perfectly. You need to provide your case where it doesnt work.