https://issues.apache.org/bugzilla/show_bug.cgi?id=45713
Summary: java.io.IOException: The text piece table is corrupted (
While processing a Word Document )
Product: POI
Version: 3.0
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: blocker
Priority: P1
Component: HWPF
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Created an attachment (id=22499)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22499)
This is the document we are trying to glean text from.
java.io.IOException: The text piece table is corrupted
at
org.apache.poi.hwpf.model.ComplexFileTable.<init>(ComplexFileTable.java:53)
at org.apache.poi.hwpf.HWPFDocument.<init>(HWPFDocument.java:219)
at org.apache.poi.hwpf.HWPFDocument.<init>(HWPFDocument.java:152)
at
org.apache.poi.hwpf.extractor.WordExtractor.<init>(WordExtractor.java:57)
Code Snippet.
POIFSFileSystem mswordpoifs = null;
try {
mswordpoifs = HWPFDocument.verifyAndBuildPOIFS(isr);
} catch (IllegalArgumentException iae) {
} catch (IOException ioe) {
}
WordExtractor we = null;
try {
// causes the IOException.
we = new WordExtractor(mswordpoifs);
} catch (java.io.IOException cie) {
cie.printStackTrace();
}
--
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]