https://issues.apache.org/bugzilla/show_bug.cgi?id=56170
--- Comment #3 from Dominik Stadler <[email protected]> --- I did some more investigation, this is likely caused at XSSFRow.onDocumentWrite() when we call _row.setCArray(cArray); We mostly pass in objects which were in this array before, but XMLBeans does not handle this case when the old array is larger than the new one. The call gets to XmlComplexContentImpl.arraySetterHelper() where XMLBeans will release any objects that it removes from the previous array and thus objects will be disconnected if they are still referenced there afterwards, despite them still being in the new array that we set! So it is mostly caused by how XMLBeans is handling setting these arrays, my first approach in fixing locally in POI is to keep the array of CTCells in XSSFRow._row in sync with _cells, so these cases do not appear at all. -- 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]
