https://bz.apache.org/bugzilla/show_bug.cgi?id=66337
Bug ID: 66337 Summary: In-Memory HSSF warns about missing SummaryInformation Product: POI Version: 5.2.2-FINAL Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: HSSF Assignee: dev@poi.apache.org Reporter: nicolas.her...@emineo.ch Target Milestone: --- I am creating a new HSSFWorkbook in memory and want to get the bytes (via an OutputStream). I don't want to write it to a file. Apache POI 5.2.2 then gives the following warnings > 1085068 [main] WARN org.apache.poi.POIDocument - DocumentSummaryInformation > property set came back as null > 1087737 [main] WARN org.apache.poi.POIDocument - SummaryInformation property > set came back as null Digging into the source of Apache POI, this seems to be a (small) bug, since HSSFWorkbook#getBytes reads the above properties, which cannot be read in the case of a non-saved document. See the remark "directory can be null when creating new documents" in https://svn.apache.org/repos/asf/poi/tags/REL_5_2_2/poi/src/main/java/org/apache/poi/POIDocument.java In the case of creating a Workbook in memory and afterwards just getting the bytes , shouldn't these warnings be silenced? -- 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