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)

coderanch.com | 5 months ago
  1. 0

    Read a .xls,.xlsx file format using XSSF [Solved] (Open Source Projects forum at Coderanch)

    coderanch.com | 5 months ago
    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)
  2. 0

    How to merge two word documents which are saved with .docx to a third file?

    Stack Overflow | 3 years ago | Pallavipradeep
    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)
  3. 0

    How to read doc file using Poi?

    Stack Overflow | 11 months ago | Kareem Elsayed
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to read doc file using poi

    Stack Overflow | 10 months ago | Kareem Elsayed
    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)
  6. 0

    RE: Unable to save a file exported by Jasper Report using OPCPackage for encryption

    poi-user | 2 years ago | Jose Amoros
    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)

    1 unregistered visitors
    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. 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)

      at org.apache.poi.poifs.storage.HeaderBlockReader.<init>()
    2. POI
      POIFSFileSystem.<init>
      1. org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:98)
      2. org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:151)
      2 frames
    3. com.upload
      File_Upload_Servlet.doPost
      1. com.upload.File_Upload_Servlet.uploadFile1(File_Upload_Servlet.java:421)
      2. com.upload.File_Upload_Servlet.doPost(File_Upload_Servlet.java:93)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      2 frames