You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by "phil@enappsys.com" <ph...@enappsys.com> on 2004/04/29 16:30:33 UTC
XLS spreadsheet not writing
Apologies in advance for the lack of detail but to give a code dump is
impractical. I have a large Java app that is writing a four sheet XLS
workbook using poi. Everything seems to execute OK, the object model is
built and no errors result. When I try to output it to a stream using
HSSFWorkbook.write(), the statement executes without an error, however, the
spreadsheet is not created. The code works flawlessly and outputs a
workbook with two sheets, however, when I double it to 4 nothing happens.
Bizarre.
Anyone else had this experience ... any pointers.
Regards,
Phil Hewitt
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org
Re: XLS spreadsheet not writing
Posted by Danny Mui <da...@muibros.com>.
if can you reproduce this problem in a "clean room" environment then you
can infer that HSSF is the main culprit. That also means we have a new
testcase we can use for our regression tests :).
In other words, can ya isolate this outside of your application in a
unit test that fails? Minimize the amount of moving parts.
phil@enappsys.com wrote:
> Apologies in advance for the lack of detail but to give a code dump is
> impractical. I have a large Java app that is writing a four sheet XLS
> workbook using poi. Everything seems to execute OK, the object model is
> built and no errors result. When I try to output it to a stream using
> HSSFWorkbook.write(), the statement executes without an error, however, the
> spreadsheet is not created. The code works flawlessly and outputs a
> workbook with two sheets, however, when I double it to 4 nothing happens.
> Bizarre.
>
> Anyone else had this experience ... any pointers.
>
> Regards,
>
> Phil Hewitt
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: poi-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org