https://issues.apache.org/bugzilla/show_bug.cgi?id=49933
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #2 from [email protected] 2010-09-17 15:48:11 EDT --- Hi Nick, Thanks for your fix. This fixes several documents, but there are still some documents that produce ArrayIndexOutOfBoundsExceptions. Attached the files that cause the execpetions being thrown. Unfortunately my knowledge of old Word docs is limited, otherwise I could have helped. Stacktraces: Processing: Case1.doc java.lang.ArrayIndexOutOfBoundsException: 240 at org.apache.poi.hwpf.sprm.SprmOperation.getOperand(SprmOperation.java:94) at org.apache.poi.hwpf.sprm.SectionSprmUncompressor.unCompressSEPOperation(SectionSprmUncompressor.java:57) at org.apache.poi.hwpf.sprm.SectionSprmUncompressor.uncompressSEP(SectionSprmUncompressor.java:37) at org.apache.poi.hwpf.model.SEPX.<init>(SEPX.java:33) at org.apache.poi.hwpf.model.OldSectionTable.<init>(OldSectionTable.java:61) at org.apache.poi.hwpf.HWPFOldDocument.<init>(HWPFOldDocument.java:103) at org.apache.poi.hwpf.HWPFOldDocument.<init>(HWPFOldDocument.java:42) at com.ravn.test.poi.OldMSDocTester.parse(OldMSDocTester.java:27) at com.ravn.test.Tester.main(Tester.java:29) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:115) Processing: Case2.doc java.lang.ArrayIndexOutOfBoundsException: 244 Processing: Case3.doc java.lang.ArrayIndexOutOfBoundsException: 32 Processing: Case4.doc java.lang.ArrayIndexOutOfBoundsException: 26 Processing: Case5.doc java.lang.ArrayIndexOutOfBoundsException: 238 Processing: Case6.doc java.lang.ArrayIndexOutOfBoundsException: 247 -- 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]
