DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38238>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38238

           Summary: error in row.createCell (classCastExeption)
           Product: POI
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


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.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to