You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2003/10/10 00:13:22 UTC
DO NOT REPLY [Bug 22862] -
Referenced memory error - "The memory could not be written"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22862>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22862
Referenced memory error - "The memory could not be written"
------- Additional Comments From wcrighton@yahoo.com 2003-10-09 22:13 -------
I'm in the middle of a development project using POI as an Excel report
generator, so I don't have a simple example separated out from my code.
However, I was able to reproduce this bug by taking a existing spreadsheet file
with 5 worksheets on it 15 rows x 25 col per (file size = 2M).
In my code I created an additional worksheet and wrote debug information to the
new sheet, row by row. For each row I would create a number of new cells, using
a 'cell counter' to identify where in the row I wanted the new cell to appear.
Instead of resetting my 'cell counter' value each time I created a new row I
just kept incrementing it, and the resulting spreadsheet would not open.
When I modified my code to reset the 'cell counter' the spreadsheet would open
fine. The resulting 'cell counter' value in the spreadsheets that would not
open was 966.
So the bug seems to be related to either a maximum allowable cell number per
row or a maximum number of empty cells per row.
If there is interest I can try to extract out an example.
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org