aspose file tools
The moose likes Other Open Source Projects and the fly likes JEXCEL copy a File , cannot able to open ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "JEXCEL copy a File , cannot able to open ?" Watch "JEXCEL copy a File , cannot able to open ?" New topic
Author

JEXCEL copy a File , cannot able to open ?

vicky ece
Greenhorn

Joined: Jan 03, 2012
Posts: 17
Hi all,

When i try the above program most of the time its giving null pointer exception or some times copied xls file is not in the proper format to open (I am using Ubuntu Linux OS)but if i open the "Sample_WordMasterTemplate.xls" and do so editing and save and close it then every thing works fine .. only when i download a file from network and try to process through JExcel this problem arises otherwise everything is working fine .
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
Any particular reason you're not simply using FileInputStream/FileOutputStreamm for copying the file? Seems like there would be less chance for problems.
vicky ece
Greenhorn

Joined: Jan 03, 2012
Posts: 17
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] ...................
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JEXCEL copy a File , cannot able to open ?
 
Similar Threads
convert excel
Open a new worksheet using jExcel
UNIX file delivery failed: Map failed
excel
How to copy a file to another in a different directory?