java.lang.RuntimeException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Microsoft/Excel/xxxxxxxxxxxx.xlsb!Sheet2!R3C1:R8C7

Atlassian JIRA | David Yu | 4 years ago
  1. 0

    This occurs with Excel pasted data inside the powerpoint slide. {code} java.lang.RuntimeException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Microsoft/Excel/xxxxxxxxxxxx.xlsb!Sheet2!R3C1:R8C7 at com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:59) at com.benryan.ppt.PptRenderer.<init>(PptRenderer.java:42) at com.benryan.ppt.ImagePPTRenderer.<init>(ImagePPTRenderer.java:24) at com.benryan.conversion.SlideConversionThread.convertFile(SlideConversionThread.java:57) at com.benryan.conversion.SlideConversionThread.run(SlideConversionThread.java:123) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Microsoft/Excel/xxxxxxxxxxxx.xlsb!Sheet2!R3C1:R8C7 at org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfAbsoluteUri(PackagePartName.java:426) at org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfInvalidPartUri(PackagePartName.java:175) at org.apache.poi.openxml4j.opc.PackagePartName.<init>(PackagePartName.java:83) at org.apache.poi.openxml4j.opc.PackagingURIHelper.createPartName(PackagingURIHelper.java:470) at com.benryan.pptx.XMLSlideShow.getTargetPart(XMLSlideShow.java:443) at com.benryan.pptx.XMLSlideShow.getTargetPart(XMLSlideShow.java:427) at com.benryan.pptx.XMLSlideShow.<init>(XMLSlideShow.java:136) at com.benryan.pptx.XMLSlideShow.<init>(XMLSlideShow.java:152) at com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:55) {code}

    Atlassian JIRA | 4 years ago | David Yu
    java.lang.RuntimeException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Microsoft/Excel/xxxxxxxxxxxx.xlsb!Sheet2!R3C1:R8C7
  2. 0

    InvalidFormatException because of Absolute URI forbidden

    Apache Bugzilla | 4 years ago | dojolava
    org.apache.poi.openxml4j.exceptions.InvalidFormatException: Absolute URI forbidden: file://///...
  3. 0

    InvalidFormatException with OPCPackage or XSSFWorkbook

    poi-user | 1 year ago | Jonathan Hodges
    org.apache.poi.openxml4j.exceptions.InvalidFormatException: The part /_rels/.rels does not have any content type ! Rule: Package require content types when retrieving a part from a package. [M.1.14]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TestNG XML file failed to invoke/create the XSSFWorkbook

    Stack Overflow | 1 month ago | Ashok kumar
    org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]
  6. 0

    org.apache.poi.POIXMLException: org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

    poi-user | 4 years ago | ven12344
    org.apache.poi.openxml4j.exceptions.InvalidFormatException: Package should contain a content type part [M1.13]

    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.InvalidFormatException

      Absolute URI forbidden: file:///C:/Documents%20and%20Settings/xxxxxx/Application%20Data/Microsoft/Excel/xxxxxxxxxxxx.xlsb!Sheet2!R3C1:R8C7

      at org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfAbsoluteUri()
    2. Apache POI
      PackagingURIHelper.createPartName
      1. org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfAbsoluteUri(PackagePartName.java:426)
      2. org.apache.poi.openxml4j.opc.PackagePartName.throwExceptionIfInvalidPartUri(PackagePartName.java:175)
      3. org.apache.poi.openxml4j.opc.PackagePartName.<init>(PackagePartName.java:83)
      4. org.apache.poi.openxml4j.opc.PackagingURIHelper.createPartName(PackagingURIHelper.java:470)
      4 frames
    3. com.benryan.pptx
      XMLSlideShow.<init>
      1. com.benryan.pptx.XMLSlideShow.getTargetPart(XMLSlideShow.java:443)
      2. com.benryan.pptx.XMLSlideShow.getTargetPart(XMLSlideShow.java:427)
      3. com.benryan.pptx.XMLSlideShow.<init>(XMLSlideShow.java:136)
      4. com.benryan.pptx.XMLSlideShow.<init>(XMLSlideShow.java:152)
      4 frames
    4. com.benryan.ppt
      PptRenderer.getNewXmlSlideShow
      1. com.benryan.ppt.PptRenderer.getNewXmlSlideShow(PptRenderer.java:55)
      1 frame