org.apache.poi.poifs.filesystem.OfficeXmlFileException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to read doc file using Poi?
    via Stack Overflow by Kareem Elsayed
    ,
  • How to read doc file using poi
    via Stack Overflow by Kareem Elsayed
    ,
  • java.io.FileNotFoundException
    via by gopal g gupta,
  • Reading MS Word File
    via by Maneeesh Saxena,
  • Read a .xls,.xlsx file format using XSSF
    via by Prateek Kumar Singh,
    • 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.HeaderBlock.<init>(HeaderBlock.java:133) at org.apache.poi.poifs.storage.HeaderBlock.<init>(HeaderBlock.java:106) at org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:128)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,