On Thu, 7 Jun 2012, mrbains21 wrote:
Thank you for the reply Nick. As u said i tried  with a different doc file.
now i get different error.

java.io.IOException: Read error
        at java.io.FileInputStream.readBytes(Native Method)
        at java.io.FileInputStream.read(Unknown Source)
        at java.io.FilterInputStream.read(Unknown Source)
        at java.io.PushbackInputStream.read(Unknown Source)
        at java.io.FilterInputStream.read(Unknown Source)
        at
org.apache.poi.hwpf.HWPFDocumentCore.verifyAndBuildPOIFS(HWPFDocumentCore.java:95)

Your new file is somehow broken too. You shouldn't be getting io exceptions, there's something very wrong with either your file or the filesystem/disk holding it

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to