https://issues.apache.org/bugzilla/show_bug.cgi?id=56835
icear...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #2 from icear...@gmail.com --- The JavaDocs http://poi.apache.org/apidocs/org/apache/poi/xssf/usermodel/XSSFSheet.html#createDrawingPatriarch() and source code http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java?revision=1614684&view=markup line 415 indicate createDrawingPatriarch searches the workbook for the drawing object for the sheet if a drawing has already been created. I don't get an Unreadable content error from Microsoft Excel if I run the following code: Row row = wb.createSheet("Sheet1").createRow(0); Cell cell1 = row.createCell(0); Cell cel21 = row.createCell(1); addCommentToCell(cell1, "First comment", "Apache POI"); addCommentToCell(cell2, "Second comment", "Apache POI"); I don't think this is a problem with createDrawingPartiarch() I think inside drawing.createCellComment(anchor) a check needs to be made if a cell comment already exists in the same drawing with the same Row1 and Column1 as anchor. svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java?revision=1511789&view=markup Line 288 If you agree I will try to put together a patch. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org