Tim Moores wrote:Any particular reason you're not simply using FileInputStream/FileOutputStreamm for copying the file? Seems like there would be less chance for problems.
Thanks for you reply ....
I have tried with FileInputStream/FileOutputStreamm the same problem arises.
And also i find that, if i have a cell with formula then every things works fine[Actually NullPointer Exception is caused by some method in Jexcel Api class i found that by Debugging , so i tried with adding a formula in a cell then uploaded to my mail and then downloaded from my Mail every thing works fine but without that one the same problem arises] ...................