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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to