You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2013/09/27 19:35:23 UTC
[Bug 55604] New: Issue related to SprmBuffer class
https://issues.apache.org/bugzilla/show_bug.cgi?id=55604
Bug ID: 55604
Summary: Issue related to SprmBuffer class
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: HWPF
Assignee: dev@poi.apache.org
Reporter: wsolaligue@gmail.com
Created attachment 30890
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30890&action=edit
Patch with fix about SprmBuffer problem
We had a issue when we tried to get the body content of a MS Word 97 file. We
got this exception:
.
.
Caused by: java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.apache.poi.hwpf.sprm.SprmBuffer.append(SprmBuffer.java:128)
at org.apache.poi.hwpf.model.PAPBinTable.rebuild(PAPBinTable.java:293)
at org.apache.poi.hwpf.model.PAPBinTable.rebuild(PAPBinTable.java:116)
at org.apache.poi.hwpf.HWPFOldDocument.<init>(HWPFOldDocument.java:136)
at
org.apache.tika.parser.microsoft.WordExtractor.parseWord6(WordExtractor.java:437)
at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:79)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:186)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:161)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
... 15 more
so We did a fix to avoid that exception, I am attaching a patch file with the
fix.
Regards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 55604] Issue related to SprmBuffer class
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55604
Willy Solaligue <ws...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unspecified |3.8
--- Comment #1 from Willy Solaligue <ws...@gmail.com> ---
Additionally, we tried again using POI 3.9, but it couldn't solve the issue.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org