Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-35080

Adding a pptx into Confluence fails with "There was a problem converting this attachment"

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      If you upload a pptx file into a Confluence page you will get the following error:

      Into the atlassian-confluence.log you will get below stack trace:

       -- referer: http://confluence:8090/display/TEST/Test+pttx | url: /plugins/servlet/pptslide | userName: admin
      2014-09-25 11:15:22,901 WARN [http-bio-8090-exec-3] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : junk.pptx with page number 0, waited : 300, now executing in background.
       -- referer: http://confluence:8090/display/TEST/Test+pttx | url: /plugins/servlet/pptslide | userName: admin
      2014-09-25 11:15:23,216 ERROR [DefaultSlideCacheManager:thread-1] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting junk.pptx
       -- referer: http://confluence:8090/display/TEST/Test+pttx | url: /plugins/servlet/pptslide | userName: admin
      java.lang.NumberFormatException: For input string: "f0"
      	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
      	at java.lang.Double.parseDouble(Double.java:540)
      	at com.benryan.escher.XmlCustomShapeRenderer.getDouble(XmlCustomShapeRenderer.java:170)
      	at com.benryan.escher.XmlCustomShapeRenderer.convertPoint(XmlCustomShapeRenderer.java:165)
      	at com.benryan.escher.XmlCustomShapeRenderer.renderCustomShape(XmlCustomShapeRenderer.java:83)
      	at com.benryan.escher.EscherRenderer.renderAutoshape(EscherRenderer.java:551)
      	at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:233)
      	at com.benryan.ppt.PptRenderer.render(PptRenderer.java:125)
      	at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:56)
      	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)
      2014-09-25 11:15:26,274 WARN [http-bio-8090-exec-3] [jersey.spi.inject.Errors] processErrorMessages The following warnings have been detected with resource and/or provider classes:
        WARNING: A HTTP GET method, public javax.ws.rs.core.Response com.atlassian.confluence.tinymceplugin.rest.DraftsResource.getDrafts(int,int), should not consume any entity.
       -- referer: http://confluence:8090/display/TEST/Test+pttx | url: /rest/tinymce/1/content/2228226.json | userName: admin
      

      Steps to Reproduce:

      1. Setup a Confluence 5.6.3.
      2. Create a test page.
      3. Drag and drop the example attachment added in the restricted comment (it's for internal use only).
      4. Save the page.

      Notes:

      • The power point file was created in Office 2013.
      • Office Connector version 3.3.8 (latest on Confluence 5.6.3)
      • We don't know which specific configuration causes this error.

      Additional information

      The error occurs on this pptx (link) as well.
      However, once the pptx is modified by 'Save As' PowerPoint 97-2003 Presentation (.ppt) or PowerPoint Picture Presentation (.pptx), it can be displayed successfully.

      Attachments

        1. (mod for support) Charts in PPT.pptx
          60 kB
          Branno
        2. img.PNG
          49 kB
          Deividi Luvison

        Issue Links

          Activity

            People

              qpham@atlassian.com Quan Pham
              dluvison Deividi Luvison (Inactive)
              Votes:
              57 Vote for this issue
              Watchers:
              84 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: