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"

      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.

            [CONFSERVER-35080] Adding a pptx into Confluence fails with "There was a problem converting this attachment"

            This is still a problem.  Please fix this kind of thing.  Without functionality like this I might as well just use sharepoint. 7.12.1

            Griffin Rowell added a comment - This is still a problem.  Please fix this kind of thing.  Without functionality like this I might as well just use sharepoint. 7.12.1

            Alex Gay added a comment -

            Same issue in Confluence 7.4.3

            Alex Gay added a comment - Same issue in Confluence 7.4.3

            Confluence 7.0.1 even converting the file to ppt does not help

            Denis Shestov added a comment - Confluence 7.0.1 even converting the file to ppt does not help

            Hi

            Also same issue shows up in version 7.0.1

            Edgar Hernandez Meraz added a comment - Hi Also same issue shows up in version 7.0.1

            Hi Guys

            This is madness !

            Same issue using Confluence server 6.15.6

            Mauricio GALVEZ added a comment - Hi Guys This is madness ! Same issue using Confluence server 6.15.6

            Same behaviour with 6.15.6.

            The error does not occur with every document. First thought that it has do with animated Powerpoints. But they are all simple and small.

            Converting to ppt helps, but you might ruin your Powerpoint.

            Peter Brodt added a comment - Same behaviour with 6.15.6. The error does not occur with every document. First thought that it has do with animated Powerpoints. But they are all simple and small. Converting to ppt helps, but you might ruin your Powerpoint.

            Same happens with Confluence 6.9.1 which are we using.

            WORKAROUND: Converting to .ppt resolves this issue.

             

            Marjan Bugarinovic added a comment - Same happens with Confluence 6.9.1 which are we using. WORKAROUND: Converting to .ppt resolves this issue.  

            We are using Confluence Server 6.6 at the moment and experience this issue as well.

            Dipendra Shrestha added a comment - We are using Confluence Server 6.6 at the moment and experience this issue as well.

            I too am facing this issue with Confluence Server 6.13.0. The error "There was a problem converting this attachment" appears after inserting a PowerPoint macro.

             

            Nicholas Smith added a comment - I too am facing this issue with Confluence Server 6.13.0. The error "There was a problem converting this attachment" appears after inserting a PowerPoint macro.  

            Same problem here on Confluence Server 6.4.3. Powerpoint slides are frequently used during meetings and it's a pity we can't visualize them effectively in Confluence. We'd like people to collaborate and share information in Confluence and it's hard to do that when information is buried in attachments instead of being visualized on the page.

            Dave Thomas added a comment - Same problem here on Confluence Server 6.4.3. Powerpoint slides are frequently used during meetings and it's a pity we can't visualize them effectively in Confluence. We'd like people to collaborate and share information in Confluence and it's hard to do that when information is buried in attachments instead of being visualized on the page.

              qpham@atlassian.com Quan Pham
              dluvison Deividi Luvison (Inactive)
              Affected customers:
              57 This affects my team
              Watchers:
              84 Start watching this issue

                Created:
                Updated:
                Resolved: