https://issues.apache.org/bugzilla/show_bug.cgi?id=56170
--- Comment #2 from Dominik Stadler <[email protected]> --- The actual point where the Cell contents becomes invalid is here: CTRowImpl(XmlComplexContentImpl).arraySetterHelper(XmlObject[], QName) line: 1149 CTRowImpl.setCArray(CTCell[]) line: not available XSSFRow.onDocumentWrite() line: 466 XSSFSheet.write(OutputStream) line: 2761 XSSFSheet.commit() line: 2725 XSSFSheet(POIXMLDocumentPart).onSave(Set<PackagePart>) line: 322 XSSFWorkbook(POIXMLDocumentPart).onSave(Set<PackagePart>) line: 326 XSSFWorkbook(POIXMLDocument).write(OutputStream) line: 173 XSSFTestDataSamples.writeOutAndReadBack(R) line: 68 TestXSSFCell.test56170() line: 299 Unfortunatly the XMLBeans framework is very picky about objects being used in more than one place, sometimes setting objects to "invalid" if they are removed from some collection, while we are still using it in other places. Your change basically just checks if the row or any cell inside it became invalid by some prior action, so it is not a full fix, but just does not do anything any more with the cell as soon as it becomes invalid. -- 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]
