poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <n...@torchbox.com>
Subject Re: Word extraction doesn't work??
Date Thu, 10 Aug 2006 11:37:58 GMT
On Thu, 10 Aug 2006, Nir Nu├čbaum wrote:
> Here is a stack trace example:
> *Caused by: java.io.IOException: Invalid header signature; read
> 2337475350589629764, expected -2226271756974174256
>       at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(
> HeaderBlockReader.java:91)
>       at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(
> POIFSFileSystem.java:83)

Hmm, something deep within poifs doesn't think that your document is a 
valid OLE2 stream. Are you sure they're really word format, and not just 
something else that happens to have been saved as a .doc extension?

For example, I commonly see that error when I try to open RTF files with 
hwpf.

Nick

Mime
View raw message