Summary: | Excel crashing when reading large files generated by POI | ||
---|---|---|---|
Product: | POI | Reporter: | Julian Jones <JulianJones2000> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 2.0-pre3 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | All | ||
Attachments: |
A sample Excel file generated by POI that will crash Excel when it tries to load it
POITest.java POITest.java with rows 0-821 creates files not loadable with Excel 2000 (9.0.3821 SR-1) output Excel file generated from POITest |
Description
Julian Jones
2003-07-03 11:19:49 UTC
Created attachment 7079 [details]
A sample Excel file generated by POI that will crash Excel when it tries to load it
Have you attempted to use 2.0pre? 1.5 is quite old. I suspect this is fixed in the 2.0-pre2 as soon as its released. We're nearing release of 2.0 and so all bug fixes are going into that release. information asked for but not given. Even with 2.0-pre3 files larger than 1MB crash with Excel. please attach the minimum simplest amount of code necessary to reproduce it with a main (or as a junit test case, better yet). It's not the file size, I generate files >1mb all the time. File size is the most frequent red herring. Certain bugs or conditions just happen mroe in big files. Created attachment 7768 [details]
POITest.java
Created attachment 7769 [details]
POITest.java with rows 0-821 creates files not loadable with Excel 2000 (9.0.3821 SR-1)
the only workaround is to load the Excel file with Open Office and to save it again. But still that's not sufficient. Created attachment 7801 [details]
output Excel file generated from POITest
tested the code attached with latest CVS, and the file opens perfectly in Excel XP *** This bug has been marked as a duplicate of 15375 *** |