Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Excel found unreadable content ... Repaired Records : error using OfficeOpenXML api

 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I made some twicks to a java class that uses the OfficeOpenXML API to create excel files, and now before opening the excel file generated by it< i get

"Excel found unreadable content in 'filename.xlsx'. Do you want to recover the content of this workbook ? If you trust the source of this workbook, click Yes."



So, I click yes and I do open the excel which looks correct, but I also can open the error.xml file which contains:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
<logFileName>error042880_02.xml</logFileName>
<summary>Errors were detected in file 'C:\.....\Microsoft\Windows\Temporary Internet Files\Content.IE5\EP6587HI\DMLSS_WRM_INFO_20110409102002[1].xlsx'</summary>
- <repairedRecords summary="Following is a list of repairs:">
<repairedRecord>Repaired Records: Cell information from /xl/worksheets/sheet1.xml part</repairedRecord>
</repairedRecords>
</recoveryLog>

I have no idea where to start debugging. THe code that generates the excel runs smoothly, and the excel file itself looks correct.
But why this error ?

THanks,

Grazia
 
Oh the stink of it! Smell my tiny ad!
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!