https://issues.apache.org/bugzilla/show_bug.cgi?id=46987
Trejkaz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #2 from Trejkaz <[email protected]> 2009-04-13 22:18:41 PST --- I can't give you the document because it contains company information, but I put a breakpoint in RecordFactory to confirm that it is doing this: record = [SELECTION] .pane = 0x03 .activecellrow = 0x0000 .activecellcol = 0x0000 .activecellref = 0x0000 .numrefs = 0x0001 [/SELECTION] record = [EOF] [/EOF] java.lang.RuntimeException: Buffer underrun - requested 512 bytes but 192 was available at org.apache.poi.poifs.filesystem.DocumentInputStream.checkAvaliable(DocumentInputStream.java:202) at org.apache.poi.poifs.filesystem.DocumentInputStream.readFully(DocumentInputStream.java:224) at org.apache.poi.hssf.record.RecordInputStream.readFully(RecordInputStream.java:251) at org.apache.poi.hssf.record.RecordInputStream.readFully(RecordInputStream.java:246) at org.apache.poi.hssf.record.RecordInputStream.readRemainder(RecordInputStream.java:341) at org.apache.poi.hssf.record.UnknownRecord.<init>(UnknownRecord.java:73) at org.apache.poi.hssf.record.RecordFactory.createSingleRecord(RecordFactory.java:251) at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:373) So the old version was (correctly?) stopping at EOF, and the new version for whatever reason keeps reading despite hitting the EOF marker. -- 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]
