https://bz.apache.org/bugzilla/show_bug.cgi?id=52142

Dominik Stadler <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEEDINFO                    |RESOLVED

--- Comment #7 from Dominik Stadler <[email protected]> ---
Latest trunk reports this as follows

org.apache.poi.openxml4j.exceptions.OLE2NotOfficeXmlFileException: The supplied
data appears to be in the OLE2 Format. You are calling the part of POI that
deals with OOXML (Office Open XML) Documents. You need to call a different part
of POI to process this data (eg HSSF instead of XSSF)

So I think we can close this as WORKSFORME, you seem to have an xls file with a
.xlsx extension which means you actually need HSSF.... classes to work with
such files. Alternatively you can use WorkbookFactory and the underlying base
interfaces (Workbook, Sheet, Row, Cell, ...) to make your code independent of
the actual file-format.

-- 
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