https://bz.apache.org/bugzilla/show_bug.cgi?id=56557

--- Comment #5 from ligang <[email protected]> ---
I have modified the method
org.apache.poi.xssf.streaming.SXSSFWorkbook.injectData(File, OutputStream)
at line 354.

---
if(xSheet!=null)
->
if(xSheet!=null && !(xSheet instanceof XSSFChartSheet))
---

Since there is no <sheetData> in a chartsheet, XSSFChartSheet should not take
this if branch.(copyStreamAndInjectWorksheet(is,zos,xis) process the field
<sheetData>)


The trick works fine in my case.

-- 
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]

Reply via email to