org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. POI only supports OLE2 Office documents

Coderanch | Johny Talker | 5 years ago
  1. 0

    How to read xlsx file from local java file

    Coderanch | 5 years ago | Johny Talker
    org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. POI only supports OLE2 Office documents
  2. 0

    POI - User - Unable to open Excel 2007 file (block[ 0 ] already removed)

    nabble.com | 1 year ago
    org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. POI only supports OLE2 Office documents
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Unable to upload excel file using spring + apache-poi

    Stack Overflow | 2 years ago | jWeaver
    org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. You are calling the part of POI that deals with OLE2 Office Documents. You need to call a different part of POI to process this data (eg XSSF instead of HSSF)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.poi.poifs.filesystem.OfficeXmlFileException

      The supplied data appears to be in the Office 2007+ XML. POI only supports OLE2 Office documents

      at org.apache.poi.poifs.storage.HeaderBlockReader.<init>()
    2. POI
      HSSFWorkbook.<init>
      1. org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:108)
      2. org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:151)
      3. org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:312)
      4. org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:293)
      4 frames
    3. Unknown
      readPOI.main
      1. readPOI.readDataToExcelFile(readPOI.java:18)
      2. readPOI.main(readPOI.java:12)
      2 frames