https://issues.apache.org/bugzilla/show_bug.cgi?id=44929





--- Comment #5 from Josh Micich <[EMAIL PROTECTED]>  2008-05-03 12:59:38 PST ---
(In reply to comment #1)
> The input file which will cause exception

I tried attachment (id=21909) with various versions of POI (2.5.1, 3.0.2,
3.1-beta1, svn trunk) and found that it works on none.  The main problem is
that it does not have a 'Workbook' directory entry, but instead has 'Book'.  As
far as I can tell that makes it BIFF5 format, which POI does not support.

In POI 3.0.2 the error looks different (IllegalPropertySetDataException)
because of the call to readProperties() from
HSSFWorkbook.<init>(HSSFWorkbook.java:171).  This call was added after 2.5.1
but removed before 3.1-beta1.  I am not sure of the details but that change was
made in bug 44491 (svn r633118).

To help a little with this bug, I made a change to HSSFWorkbook to give a
clearer error message when attempting to read a prior BIFF version. This was
applied in svn r653117.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to