On Tue, 25 Sep 2007, Raymond Cheng wrote:
java.io.IOException: Unable to read entire block; 72 bytes read; expected
512 bytes
at org.apache.poi.poifs.storage.RawDataBlock.<init>(
RawDataBlock.java:62)
This normally means that your file has been truncated, and the end of it
is missing. Alternately, you might be using an unusual input stream (there
has been some talk about poi making some incorrect assumptions on input
streams, which only affects unusual ones)
I'd try checking that you have all the file, then try reading it into
memory and passing a ByteArrayInputStream to POI, to see if that helps
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]