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
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 2 years 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. 0

    error reading excel file using apache poi

    Coderanch | 8 years ago | Priya Bhagat
    org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied data appears to be in the Office 2007+ XML. POI only supports OLE2 Office documents
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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