https://issues.apache.org/bugzilla/show_bug.cgi?id=52425
--- Comment #2 from Thibaud Raison <[email protected]> --- Same error in the same condition. The first comment creates the VMLDrawing. The second failed to load the right VMLDrawing. Looking at the code, the drawing is null because the search did not ends, because of the (second) break in line 420. The search ends as soon as the first VMLDrawing is not the right one. for(POIXMLDocumentPart p : getRelations()){ if(p instanceof XSSFVMLDrawing) { XSSFVMLDrawing dr = (XSSFVMLDrawing)p; String drId = dr.getPackageRelationship().getId(); if(drId.equals(ctDrawing.getId())){ drawing = dr; break; } break; // line 420 } } if(drawing == null){ logger.log(POILogger.ERROR, "Can't find VML drawing with id=" + ctDrawing.getId() + " in the list of the sheet's relationships"); } -- 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]
