Thanks Nick It appears to happen on the majority of PDF files that i read. Looking into more about the pdfs that I am reading.
-----Original Message----- From: Nick Burch [mailto:[email protected]] Sent: Sunday, July 1, 2012 10:10 AM To: 'POI Users List' Subject: Re: EOF Record On Sun, 1 Jul 2012, CDB wrote: > Is it uncommon to encounter the EOF Record exception and does that prevent > the extract of text? > > Found EOFRecord before WindowTwoRecord was encountered > java.lang.RuntimeException: Found EOFRecord before WindowTwoRecord was > encountered > at > org.apache.poi.hssf.model.RecordOrderer.isEndOfRowBlock(RecordOrderer.java:4 > 26) This is normally a sign of a corrupt file. (Very occasionally, it's a sign of a POI bug). Where did this file come from, was it Excel or some other software? And if you load the file in excel and do a save-as, does that fix it? Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
