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 | 5 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

    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 | 5 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

    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