org.apache.poi.openxml4j.exceptions.InvalidOperationException

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.

  • Working with docx files (XSSF )
    via by Pedro Jorge da Silva Pires,
  • Working with docx files (XSSF )
    via by Pedro Jorge da Silva Pires,
  • See attachment. From the logs: {code} 2014-11-25 09:48:23,869 ERROR [DefaultSlideCacheManager:thread-3] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting xyz.pptx -- url: /plugins/servlet/pptslide | userName: | referer: java.lang.RuntimeException: org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'E:\_atlassian\_install\_tomcat\tomcat-7.0.56-confluence\temp\com.benryan.pptx.XMLSlideShow5485982214989563930.tmp' at com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:56) at com.benryan.ppt.PptRenderer.<init>(PptRenderer.java:39) at com.benryan.ppt.ImagePPTRenderer.<init>(ImagePPTRenderer.java:24) at com.benryan.conversion.PPtDocumentConversionTask.createPptRenderer(PPtDocumentConversionTask.java:89) at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:49) at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:27) at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'E:\_atlassian\_install\_tomcat\tomcat-7.0.56-confluence\temp\com.benryan.pptx.XMLSlideShow5485982214989563930.tmp' at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:102) at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:199) at com.benryan.pptx.XMLSlideShow.createSlideshow(XMLSlideShow.java:145) at com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:52) ... 10 more {code} * The specified file exists * The file can be opened with 7Zip, but not with Windows explorer (invalid zip file)
    via by Adrian Moerchen,
  • POI user discussion
    via by Unknown author,
    • org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'E:/SBD_15-Feb/xls/SBD_Account.xls' at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:103) at org.apache.poi.openxml4j.opc.Package.open(Package.java:194) at org.apache.poi.openxml4j.opc.Package.open(Package.java:173) at org.apache.poi.POIXMLDocument.openPackage(POIXMLDocument.java:63) at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:173)

    Users with the same issue

    Unknown visitor1 times, last one,