https://issues.apache.org/bugzilla/show_bug.cgi?id=44542
--- Comment #7 from Josh Micich <[EMAIL PROTECTED]> 2008-03-05 21:00:23 PST --- (In reply to comment #6) > Created an attachment (id=21634) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21634) [details] > simple test to write random data to excel file > this is a fast code from original code, trying to reproduce the corrupt file > you have to put two parameters the number of sheets and number of rows, to > reproduce the error you have to put a lot of rows One more thing - in addition to reproducing the error, the code has to also compile and run. The code you sent is a long way from running. There are mismatched brackets (which I can't fix easily because the indenting is all wrong). Once I got it executing, I got a ClassCastException from this expression: (Map<String, Object>) formato.get("data"); There are all sorts of apparent errors where the code keeps updating a map with the same key and value (map only gets one entry) or the same map instance is added to a list many times. After attempting to fix all of this I ran the code with (hojas=1000, renglones=256) and the spreadsheet still opened in Excel OK. Perhaps my fixes obliterated some important part of the code. I'm sorry if this is tedious, but it really helps to have some example code that allows other people to easily reproduce your error. Can you please re-attach the example class after making sure that it actually compiles, runs, and reproduces the error. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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]
