Summary: | Error when opening an excel file | ||
---|---|---|---|
Product: | POI | Reporter: | Julien Kirch <julien.kirch> |
Component: | POIFS | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.0-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
File to reproduce the problem
Patch proposal |
Description
Julien Kirch
2006-11-29 01:42:23 UTC
Error in description : original cause is in StringUtil : "return new String(string, offset, len, "ISO- 8859-1");" where string.length - offset < len Created attachment 19279 [details]
File to reproduce the problem
I tried to remove as much unused data as possible from the file but failed to
reduce it to a minimal one.
Created attachment 19297 [details]
Patch proposal
I tried to fix the problem by limiting the read String then by adding the
following ContinueRecord
It don't break any current testcase and fix my problem
Thanks for this, patch applied |