Bug 13982 - invalid header signature for an excel file
Summary: invalid header signature for an excel file
Alias: None
Product: POI
Classification: Unclassified
Component: POIFS (show other bugs)
Version: 1.0.2
Hardware: PC All
: P3 critical (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2002-10-25 21:43 UTC by Elvira Gurevich
Modified: 2005-03-20 17:06 UTC (History)
0 users

excel file (2.55 KB, application/octet-stream)
2002-10-25 21:44 UTC, Elvira Gurevich

Note You need to log in before you can comment on or make changes to this bug.
Description Elvira Gurevich 2002-10-25 21:43:28 UTC
ms excel has no problems opening this file(attached), 
but POI (try BiffViewer) gets the following exception (using jakarta-poi-1.9.0-

 java.io.IOException: Invalid header signature; read 4503629692403721, 
expected -
        at org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockRead
        at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSyste
        at org.apache.poi.hssf.dev.BiffViewer.run(BiffViewer.java:106)
        at org.apache.poi.hssf.dev.BiffViewer.main(BiffViewer.java:687)
Comment 1 Elvira Gurevich 2002-10-25 21:44:52 UTC
Created attachment 3613 [details]
excel file
Comment 2 Andy Oliver 2002-10-26 01:56:27 UTC
This is an MS Excel 2.1 file.  We specifically state we support 97+.  To give
you an idea.  The last version of excel for win 3.1 was 4.x.  I assume there was
a 3.x.  Just to give you an idea: http://www.baarns.com/History/  - This version
of Excel ran on a 286.  So I have no plans to support Excel 2.1.  Sorry.

(To verify this, try saving the file using a modern version of excel.  It will
ask you if you wish to upgrade the format from Excel 2.1)
Comment 3 Elvira Gurevich 2002-10-28 20:05:10 UTC
that's good enough, thank you