| Author |
Excel Writing Using Java
|
A.S. HariLal
Greenhorn
Joined: Oct 24, 2007
Posts: 28
|
|
Dear Friends,
When I try to write data to excel i got the following exception
code is like
If there is any solution, please help me
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
headerCell.setCellValue(new HSSFRichTextString(titleArray.get(cnt))); // Exception is happening here
What is the type of titleArray?
|
Java Resources at www.wbrogden.com
|
 |
A.S. HariLal
Greenhorn
Joined: Oct 24, 2007
Posts: 28
|
|
String is the type
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
Another step to take is to split the line into:
Is it now clear exactly where the error is and what it is?
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
A.S. HariLal
Greenhorn
Joined: Oct 24, 2007
Posts: 28
|
|
|
Thank you...now it's working
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
You're welcome!
|
 |
 |
|
|
subject: Excel Writing Using Java
|
|
|