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

PPTX file not rendering using PowerPoint Macro and gave error "There was a problem converting this attachment."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • 6.13.5, 6.13.6, 7.6.0, 7.13.0, 7.13.5, 8.5.12
    • None

      Issue Summary

      A specific PPTX file with lots of images/visual contents, attached using PowerPoint Macro is not rendering within Confluence page and give an error "There was a problem converting this attachment."

      Steps to Reproduce

      1. Create a test page and attach the pptx file
      2. Publish the page and Edit
      3. Insert the macro "Office Powerpoint" and select the attached ppts file
      4. Update the page
      5. Wait for sometime and we see below error. Screenshot for reference:
        There was a problem converting this attachment.

       

      Expected Results

      The PPTX should be rendered and displayed as desired

      Actual Results

      It doesn't render we we get the error:

      There was a problem converting this attachment.

      The below exception is thrown in the atlassian-confluence.log file:

      2020-02-17 23:58:19,750 WARN [Caesium-1-3] [confluence.setup.bandana.ConfluenceDaoBandanaPersister] getObjectFromValue Configuration could not be loaded because class could not be found (context: com.atlassian.confluence.schedule.ScheduledJobConfiguration, key: DEFAULT#AuditLogCleaner).
      com.thoughtworks.xstream.io.StreamException:  : only whitespace content allowed before start tag and not B (position: START_DOCUMENT seen B... @1:1) 
      com.thoughtworks.xstream.io.StreamException:  : only whitespace content allowed before start tag and not B (position: START_DOCUMENT seen B... @1:1) 
      	at com.thoughtworks.xstream.io.xml.XppReader.next(XppReader.java:83)
      	at com.thoughtworks.xstream.io.xml.XppReader.read(XppReader.java:135)
      	at com.thoughtworks.xstream.io.xml.XppReader.moveDown(XppReader.java:94)
      	at com.thoughtworks.xstream.io.xml.XppReader.<init>(XppReader.java:31)
      	at com.thoughtworks.xstream.io.xml.XppDriver.createReader(XppDriver.java:22)
      	at com.thoughtworks.xstream.XStream.fromXML(XStream.java:505)
      .
      .
      Caused by: org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not B (position: START_DOCUMENT seen B... @1:1) 
      	at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
      	at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
      	at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      	at com.thoughtworks.xstream.io.xml.XppReader.next(XppReader.java:81)
      	... 55 more
      

      Workaround

      We may use a jpeg or screenshot of this slide for use in PPTX attachment.

        1. 1.pptx
          7.95 MB
        2. image-2020-02-26-14-46-06-223.png
          image-2020-02-26-14-46-06-223.png
          17 kB

              Unassigned Unassigned
              ssamal@atlassian.com Shakti
              Votes:
              36 Vote for this issue
              Watchers:
              27 Start watching this issue

                Created:
                Updated: