poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53515] New: SXSSFWorkbook.write() fails when called more than once
Date Fri, 06 Jul 2012 14:39:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53515

          Priority: P2
            Bug ID: 53515
          Assignee: dev@poi.apache.org
           Summary: SXSSFWorkbook.write() fails when called more than once
          Severity: normal
    Classification: Unclassified
          Reporter: ag@4js.com
          Hardware: PC
            Status: NEW
           Version: 3.8-dev
         Component: SXSSF
           Product: POI

Created attachment 29036
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29036&action=edit
Command line application to reproduce the issue

The function SXSSFWorkbook.write() throws an IOException "stream closed" if
called more than once (for an unclosed stream. The exception originates from an
internal stream).
The attached test application creates, populates and saves a workbook two
times. It does this for both a SXSSFWorkbook and a XSSFWorkbook. The
SXSSFWorkbook throws an IOException "stream closed" on the second try.
See also the discussion in bug 53493
(https://issues.apache.org/bugzilla/show_bug.cgi?id=53493) which contains a
suggested fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message