https://issues.apache.org/bugzilla/show_bug.cgi?id=51158

Yegor Kozlov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |49940

--- Comment #2 from Yegor Kozlov <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to