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.

            fbunting added a comment -

            A year later ... still occurring.   

            Again: Please reopen this issue

            fbunting added a comment - A year later ... still occurring.    Again: Please reopen this issue

            This still occurs for users at times, yet this issue is still closed. This should be reopened.

            Shane Wignall added a comment - This still occurs for users at times, yet this issue is still closed. This should be reopened.

            Shane Wignall added a comment - - edited

            This still happens on newer versions of Confluence sometimes. We have to save the pptx file as a ppt to get it to work.

            Please reopen this issue

            Shane Wignall added a comment - - edited This still happens on newer versions of Confluence sometimes. We have to save the pptx file as a ppt to get it to work. Please reopen this issue

            Still occuring on 6.3.2

            2017-09-26 13:08:35,739 ERROR [DefaultSlideCacheManager:thread-2] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting test.pptx
            – referer: https://confluencetest0/display/Test/test | url: /plugins/servlet/pptslide | traceId: 935cf38f47ddc186 | userName: tuser
            java.lang.NullPointerException
            at com.benryan.pptx.record.AbstractSingleShape.getAnchor(AbstractSingleShape.java:81)
            at com.benryan.pptx.record.AbstractSingleShape.getAnchor(AbstractSingleShape.java:32)
            at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:177)
            at com.benryan.ppt.PptRenderer.render(PptRenderer.java:123)
            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:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at java.lang.Thread.run(Thread.java:748)

            Tamás Lévai added a comment - Still occuring on 6.3.2 2017-09-26 13:08:35,739 ERROR [DefaultSlideCacheManager:thread-2] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting test.pptx – referer: https://confluencetest0/display/Test/test | url: /plugins/servlet/pptslide | traceId: 935cf38f47ddc186 | userName: tuser java.lang.NullPointerException at com.benryan.pptx.record.AbstractSingleShape.getAnchor(AbstractSingleShape.java:81) at com.benryan.pptx.record.AbstractSingleShape.getAnchor(AbstractSingleShape.java:32) at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:177) at com.benryan.ppt.PptRenderer.render(PptRenderer.java:123) 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:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

            shenghong yao added a comment - - edited

            Still occurring on 6.1.4

            java.lang.NullPointerException
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.applyAdjustment(ColorAdjustments.java:79)
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.adjustInternal(ColorAdjustments.java:70)
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.adjust(ColorAdjustments.java:58)
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.adjust(ColorScheme.java:151)
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.resolvePrstColor(ColorScheme.java:141)
            [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.resolveColor(ColorScheme.java:101)

             

            shenghong yao added a comment - - edited Still occurring on 6.1.4 java.lang.NullPointerException [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.applyAdjustment(ColorAdjustments.java:79) [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.adjustInternal(ColorAdjustments.java:70) [INFO] [talledLocalContainer] at com.benryan.pptx.record.color.ColorAdjustments.adjust(ColorAdjustments.java:58) [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.adjust(ColorScheme.java:151) [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.resolvePrstColor(ColorScheme.java:141) [INFO] [talledLocalContainer] at com.benryan.pptx.record.ColorScheme.resolveColor(ColorScheme.java:101)  

            chrishozian1021296870 added a comment -

            Still occurring on 6.0.6

            chrishozian1021296870 added a comment - Still occurring on 6.0.6

            Still occurring on 6.0.5

            Graham Horsman added a comment - Still occurring on 6.0.5

            Minh Tran added a comment -

            Dear All,

            Thanks for raising this issue. I believe this bug is already fixed with our Confluence 6.0.4
            Please upgrade to that version to have the fix

            Regards,
            Minh Tran
            Confluence Bugmaster
            Atlassian

            Minh Tran added a comment - Dear All, Thanks for raising this issue. I believe this bug is already fixed with our Confluence 6.0.4 Please upgrade to that version to have the fix Regards, Minh Tran Confluence Bugmaster Atlassian

            Reproduced on Confluence (Server) 5.9.5

            Konstantin Kondratyev added a comment - Reproduced on Confluence (Server) 5.9.5

            kconti added a comment -

            Still happening in 5.9.7...

            kconti added a comment - Still happening in 5.9.7...

            on 5.10.3 works!

            Tearsakura added a comment - on 5.10.3 works!

            Why is this still not fixed? Since 2014!?

            Thorsten Lausch added a comment - Why is this still not fixed? Since 2014!?

            Still unassigned. Come on Atlassian!

            Stephen Gramm added a comment - Still unassigned. Come on Atlassian!

            Conversion task timed out for attachment
            We have this issue with Confluence Data Center 5.8.18 as the conversion process times out. This happens many times each day when users attempt to open a page using the viewppt macro:

            Example

            25-Mar-2016  [http-nio-8080-exec-14] INFO com.benryan.conversion.PPTSlideServlet - Conversion task timed out for attachment : SomeFileName.pptx with page number 0, waited : 300, now executing in background.
            

            Please let us know when a fix is to be made which will resolve this reported problem as I see the issue is not yet 'Assigned' for work after having been open for over a year and a half.

            Stephen Gramm added a comment - Conversion task timed out for attachment We have this issue with Confluence Data Center 5.8.18 as the conversion process times out. This happens many times each day when users attempt to open a page using the viewppt macro: Example 25-Mar-2016 [http-nio-8080-exec-14] INFO com.benryan.conversion.PPTSlideServlet - Conversion task timed out for attachment : SomeFileName.pptx with page number 0, waited : 300, now executing in background. Please let us know when a fix is to be made which will resolve this reported problem as I see the issue is not yet 'Assigned' for work after having been open for over a year and a half.

            Please, please escalate the priority to fix this bug. Our org uses Office 2013 so none of our pptx files are displaying (the error message comes up). This is a huge hindrance to using all these cool collaboration features released in 5.7.4.

            carolyn french added a comment - Please, please escalate the priority to fix this bug. Our org uses Office 2013 so none of our pptx files are displaying (the error message comes up). This is a huge hindrance to using all these cool collaboration features released in 5.7.4.

            InternalS added a comment - - edited

            As workaround you can save your.pptx file in ‘PowerPoint Picture Presentation (*.pptx)’ format.

            InternalS added a comment - - edited As workaround you can save your.pptx file in ‘PowerPoint Picture Presentation (*.pptx)’ format.

            We have the same issue with PDFs in Confluence 5.6.6. Uploaded a PDF, used the PDF view macro and upon saving, receive the same error.

            Karie Kelly added a comment - We have the same issue with PDFs in Confluence 5.6.6. Uploaded a PDF, used the PDF view macro and upon saving, receive the same error.

            Added another attachment to test against.

            Branno (Inactive) added a comment - Added another attachment to test against.

            A new wrinkle in behavior, part of the PPTX document renders (text), but images in the PPTX document don't. Replicated up through 5.6.5.

            Branno (Inactive) added a comment - A new wrinkle in behavior, part of the PPTX document renders (text), but images in the PPTX document don't. Replicated up through 5.6.5.

            Same issue for me on certain pptx files.

            Nicolas Kiss added a comment - Same issue for me on certain pptx files.

            Hi,
            we have Confluence 5.6.3, and Office Connector 3..3.8 and can confirm the bug.
            The powerpoint file was created in Office 2010

            LogFile

            bg. 2014-11-13 15:47:23,997 ERROR [http-bio-127.0.0.1-8080-exec-1281] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.co
            nfluence.event.events.content.page.PageCreateEvent@76c81654[context={spaceKey=~someuser, fromPageId=74419414},page=page: pptx test v.1 (77988583),suppressNotifications=false,timestamp=1415890043986]] from
             the invoker [LegacyListenerInvoker{eventListener=com.adaptavist.confluence.bubbles.userstats.StatsListener@69affb48}]
             -- url: /pages/docreatepage.action | userName: someuser| referer: https://confluence.mueller.de/pages/createpage.action?spaceKey=~someuser&fromPageId=74419414 | action: docreatepage
            com.thoughtworks.xstream.converters.ConversionException: Could not call org.apache.commons.collections.buffer.CircularFifoBuffer.readObject()
            ---- Debugging information ----
            message             : Could not call org.apache.commons.collections.buffer.CircularFifoBuffer.readObject()
            line number         : 5
            path                : /org.apache.commons.collections.buffer.SynchronizedBuffer/collection/org.apache.commons.collections.buffer.BoundedFifoBuffer/default/maxElements
            cause-message       : null
            class               : org.apache.commons.collections.buffer.SynchronizedBuffer
            cause-exception     : java.lang.reflect.InvocationTargetException
            required-type       : org.apache.commons.collections.buffer.CircularFifoBuffer
            -------------------------------
                    at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(SerializationMethodInvoker.java:75)
                    at com.thoughtworks.xstream.converters.reflection.SerializableConverter.unmarshal(SerializableConverter.java:360)
            ---
            2014-11-13 15:47:26,952 WARN [http-bio-127.0.0.1-8080-exec-1262] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal
            .pptx with page number 0, waited : 300, now executing in background.
             -- url: /plugins/servlet/pptslide | userName: someuser| referer: https://confluence.mueller.de/display/~someuser/pptx+test
            2014-11-13 15:47:28,020 WARN [http-bio-127.0.0.1-8080-exec-1278] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal
            .pptx with page number 0, waited : 300, now executing in background.
             -- url: /plugins/servlet/pptslide | userName: someuser| referer: https://confluence.mueller.de/display/~someuser/pptx+test
            2014-11-13 15:47:28,462 WARN [http-bio-127.0.0.1-8080-exec-1278] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal
            .pptx with page number 0, waited : 300, now executing in background.
            

            Regards,
            Paula

            Paula Dasch added a comment - Hi, we have Confluence 5.6.3, and Office Connector 3..3.8 and can confirm the bug. The powerpoint file was created in Office 2010 LogFile bg. 2014-11-13 15:47:23,997 ERROR [http-bio-127.0.0.1-8080-exec-1281] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.co nfluence.event.events.content.page.PageCreateEvent@76c81654[context={spaceKey=~someuser, fromPageId=74419414},page=page: pptx test v.1 (77988583),suppressNotifications=false,timestamp=1415890043986]] from the invoker [LegacyListenerInvoker{eventListener=com.adaptavist.confluence.bubbles.userstats.StatsListener@69affb48}] -- url: /pages/docreatepage.action | userName: someuser| referer: https://confluence.mueller.de/pages/createpage.action?spaceKey=~someuser&fromPageId=74419414 | action: docreatepage com.thoughtworks.xstream.converters.ConversionException: Could not call org.apache.commons.collections.buffer.CircularFifoBuffer.readObject() ---- Debugging information ---- message : Could not call org.apache.commons.collections.buffer.CircularFifoBuffer.readObject() line number : 5 path : /org.apache.commons.collections.buffer.SynchronizedBuffer/collection/org.apache.commons.collections.buffer.BoundedFifoBuffer/default/maxElements cause-message : null class : org.apache.commons.collections.buffer.SynchronizedBuffer cause-exception : java.lang.reflect.InvocationTargetException required-type : org.apache.commons.collections.buffer.CircularFifoBuffer ------------------------------- at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadObject(SerializationMethodInvoker.java:75) at com.thoughtworks.xstream.converters.reflection.SerializableConverter.unmarshal(SerializableConverter.java:360) --- 2014-11-13 15:47:26,952 WARN [http-bio-127.0.0.1-8080-exec-1262] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal .pptx with page number 0, waited : 300, now executing in background. -- url: /plugins/servlet/pptslide | userName: someuser| referer: https://confluence.mueller.de/display/~someuser/pptx+test 2014-11-13 15:47:28,020 WARN [http-bio-127.0.0.1-8080-exec-1278] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal .pptx with page number 0, waited : 300, now executing in background. -- url: /plugins/servlet/pptslide | userName: someuser| referer: https://confluence.mueller.de/display/~someuser/pptx+test 2014-11-13 15:47:28,462 WARN [http-bio-127.0.0.1-8080-exec-1278] [com.benryan.conversion.PPTSlideServlet] doGet Conversion task timed out for attachment : Präsentation_Portallösung_Kommunikationsportal .pptx with page number 0, waited : 300, now executing in background. Regards, Paula

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

                Created:
                Updated:
                Resolved: