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'

Atlassian JIRA | Adrian Moerchen | 2 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

    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)

    Atlassian JIRA | 2 years ago | Adrian Moerchen
    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'
  2. 0

    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)

    Atlassian JIRA | 2 years ago | Adrian Moerchen
    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'
  3. 0

    org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file:

    Stack Overflow | 4 years ago | pratik
    org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'C:\Users\pjadhav1\AppData\Local\Temp\poifiles\poi-ooxml-747722852.tmp' at org.apache.poi.openxml4j.opc.ZipPackage.&lt;init&gt;(ZipPackage.java:102)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file while trying to read a .csv file using poi

    Stack Overflow | 3 years ago | user3770231
    org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'C:\Users\raj\AppData\Local\Temp\poifiles\poi-ooxml--2049907849.tmp'
  6. 0

    Working with docx files (XSSF )

    poi-user | 7 years ago | Pedro Jorge da Silva Pires
    org.apache.poi.openxml4j.exceptions.InvalidOperationException: Can't open the specified file: 'c:\teste.docx'

    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.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>()
    2. Apache POI
      OPCPackage.open
      1. org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:102)
      2. org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:199)
      2 frames
    3. com.benryan.pptx
      XMLSlideShow.createSlideshow
      1. com.benryan.pptx.XMLSlideShow.createSlideshow(XMLSlideShow.java:145)
      1 frame
    4. com.benryan.ppt
      ImagePPTRenderer.<init>
      1. com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:52)
      2. com.benryan.ppt.PptRenderer.<init>(PptRenderer.java:39)
      3. com.benryan.ppt.ImagePPTRenderer.<init>(ImagePPTRenderer.java:24)
      3 frames
    5. com.benryan.conversion
      AbstractSlideConversionTask.call
      1. com.benryan.conversion.PPtDocumentConversionTask.createPptRenderer(PPtDocumentConversionTask.java:89)
      2. com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:49)
      3. com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:27)
      4. com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:50)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames