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

Pentaho BI Platform Tracking | Gretchen Moran | 7 years ago
  1. 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
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 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
  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:96)
      2. org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:84)
      3. org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:257)
      3 frames
    3. org.pentaho.reporting
      TableDataSourceEditor$ImportFromFileThread.run
      1. org.pentaho.reporting.ui.datasources.table.TableDataSourceEditor.importFromFile(TableDataSourceEditor.java:911)
      2. org.pentaho.reporting.ui.datasources.table.TableDataSourceEditor.importFromFile(TableDataSourceEditor.java:893)
      3. org.pentaho.reporting.ui.datasources.table.TableDataSourceEditor.access$000(TableDataSourceEditor.java:96)
      4. org.pentaho.reporting.ui.datasources.table.TableDataSourceEditor$ImportFromFileThread.run(TableDataSourceEditor.java:145)
      4 frames