aspose file tools*
The moose likes Other Open Source Projects and the fly likes Converting xls to xlsx and XmlValueDisconnectedException on WebLogic 9.2 (poi 3.7) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply locked New topic
Author

Converting xls to xlsx and XmlValueDisconnectedException on WebLogic 9.2 (poi 3.7)

ernest molik
Greenhorn

Joined: Dec 18, 2009
Posts: 9
Hello.
Project on with I’m working now required to update old xls reports to xlsx. Files xls are only some layout. To create this xls reports we used POI lib. Because there is no simple way to convert old xls file to xlsx I created own converter which working fine for some simple reports. My converter basing on XSSFWorkbook class (POI 3.7). How it’s all work
1. I joust take old xls layout opened in MS Office 2010 and saved as xlsx
2. Converter reading xlsx file, for this I used “new XSSFWorkbook(fis)” constructor, “fis” is my xlsx layout file as InputStram.
3. Converter iterates all rows and cells and put correct value to correct cells.
4. Saving object XSSF as a new xlsx doc.
All this working fine in my stand alone test but my project working on WebLogic 9.2 unfortunately I’m getting error in place where converter start iterating cells and reading cell value the error is



Any idea what could cause this exception?


ps. I'm sorry for my poor english.
ernest molik
Greenhorn

Joined: Dec 18, 2009
Posts: 9
You can close this topic i asked in more proper place apache-poi forum, I also resolved problem link
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Converting xls to xlsx and XmlValueDisconnectedException on WebLogic 9.2 (poi 3.7)