poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Troy McKinnon" <TroyMcKin...@hotmail.com>
Subject Unable to read entire header
Date Tue, 22 Jun 2004 06:24:28 GMT
I have a big problem, and I am hoping for an easy solution or workaround.

I am trying to read an excel file using POI, but I get the following error:

java.io.IOException: Unable to read entire header; 279 bytes read; expected
512 bytes
   at
org.apache.poi.poifs.storage.HeaderBlockReader.<init><HeaderBlockReader.java
:78>
  ...

If I open the file in excel and resave it.. all is good.  Unfortunately I
don't have this option.
Is there some way to work around this. I am receiving the file as an
InputStream via Http.

Troy


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-user-help@jakarta.apache.org


Mime
View raw message