You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2004/10/25 13:07:38 UTC
DO NOT REPLY [Bug 31879] New: -
java.io.IOException: Unable to read entire header; -1 bytes read; expected 512 bytes
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31879>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31879
java.io.IOException: Unable to read entire header; -1 bytes read; expected 512 bytes
Summary: java.io.IOException: Unable to read entire header; -1
bytes read; expected 512 bytes
Product: POI
Version: 2.5
Platform: PC
OS/Version: MacOS X
Status: NEW
Severity: Critical
Priority: Other
Component: HSSF
AssignedTo: poi-dev@jakarta.apache.org
ReportedBy: ranjini_n@rediffmail.com
Hi,
I am getting an invalid header error while trying to read from an excel
file.
The exception is:
java.io.IOException: Unable to read entire header; -1 bytes read; expected 512
bytes
at org.apache.poi.poifs.storage.HeaderBlockReader.<init>
(HeaderBlockReader.java:78)
at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>
(POIFSFileSystem.java:83)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:210)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>
(HSSFWorkbook.java:191)
---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: poi-dev-help@jakarta.apache.org