Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 9
  • Mark post as helpful
  • send pies
  • Report post to moderator
You can close this topic i asked in more proper place apache-poi forum, I also resolved problem link
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!