Turns out files are fubar. Will see if I can catch them before they go to the database.
Thanks, Thaddaeus Fillmore CACI International Inc. Systems Analyst 703-460-1425 -----Original Message----- From: Nick Burch [mailto:[email protected]] Sent: Wednesday, April 13, 2016 2:04 PM To: POI Users List Subject: Re: Need Help with XWPFDocument issue On Wed, 13 Apr 2016, Thaddaeus Fillmore - US wrote: > Hello, I'm venturing into using POI to extract text from Word documents. > For some reason when XWPFDocument initializes from my FileInputStream, > there's and exception generated from java.util.zip.InflaterInputStream. http://poi.apache.org/spreadsheet/quick-guide.html#FileInputStream That's for Excel files, but much the same thing applies for XWPF and XSLF too So, try opening from a File directly instead, don't use a stream if you don't have to! Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
