You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/06/18 12:06:31 UTC
DO NOT REPLY [Bug 51158] Writing a workbook multiple times produces
unreadable content
https://issues.apache.org/bugzilla/show_bug.cgi?id=51158
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |49940
--- Comment #2 from Yegor Kozlov <ye...@dinom.ru> 2011-06-18 10:06:31 UTC ---
The behavior depends on how you construct XSSFWorkbook:
If you open an existing file and write it twice you will get
XmlValueDisconnectedException, as described in Bug 49940:
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at
org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1213)
at
org.apache.xmlbeans.impl.values.XmlObjectBase.newCursor(XmlObjectBase.java:243)
at
org.apache.xmlbeans.impl.values.XmlComplexContentImpl.arraySetterHelper(XmlComplexContentImpl.java:1073)
at
org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTFontsImpl.setFontArray(Unknown
Source)
However, with a newly constructed XSSFWorkbook writing twice passes OK, but
the output is broken.
Something to fix in future versions of POI.
Yegor
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org