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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to