Bug 38238 - error in row.createCell (classCastExeption)
Summary: error in row.createCell (classCastExeption)
Status: RESOLVED WONTFIX
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 1.5.1
Hardware: PC Windows 2000
: P2 blocker (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-12 12:38 UTC by barak cohen
Modified: 2006-01-12 18:19 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description barak cohen 2006-01-12 12:38:23 UTC
Hello.

I am using version 1.8.0 (from 19.sep.2002).
for some reason I can't use any higher versions, or even run your src code.
So I am hoping that you are familiar with this error, and be kind enough to 
help me.

I have a code that runs in a nested loop and creates cells in the current row.
cell = row.createCell((short)i);
after that i add data to the cell (string data that might contain numbers\date 
or even an empty value but the format is string).

In most of the time I get a ClassCastException for FormatRecord at 
Workbook.java line 560.
For the command row.createCell(). Each time in a different cell and for variant 
datas.
I couldn't find any consistency that indicates which cell will cause the error.
(Not a null String\Date\number\etc... On the cell before. Or any other thing I 
could think of)
(This happens usualy when i am building larger tables.) 

Thanks for your time,
Barak.
Comment 1 Jason Height 2006-01-13 03:19:40 UTC
Sorry but we have moved on from 1.5.1. 

Why cant you use the later versions? Move this discussion to either the users or
developers list to get assistance for the newer versions

Marking as WONTFIX.

Jason