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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 6.13.5, 6.13.6, 7.6.0, 7.13.0, 7.13.5, 8.5.12
    • None
    • 16
    • Severity 3 - Minor
    • 4

      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. image-2020-02-26-14-46-06-223.png
          17 kB
          Shakti
        2. 1.pptx
          7.95 MB
          Shakti

            Assignee:
            Unassigned
            Reporter:
            Shakti
            Votes:
            37 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated: