https://issues.apache.org/bugzilla/show_bug.cgi?id=46987
Josh Micich <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #1 from Josh Micich <[email protected]> 2009-04-08 09:03:17 PST --- DocumentInputStream can contain any length of data. If you put a breakpoint at DocumentInputStream.<init>(DocumentEntry.java:73) and run the unit tests, you will see that very few of the POI test case examples have an exact multiple of 512 bytes. The stack-trace indicates that at 196 bytes before the ends of stream, an unknown record sid was read, followed by an apparent size of 512. Excel document streams should end with EOFRecord. One possibility is that the originating application has written EOFRecord correctly, but padded with (non-zero) garbage. Alternatively there could be a mis-alignment problem a little bit before this location. Could you please attach the offending spreadsheet. This will help diagnose the problem better. -- 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]
