-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
6.13.5, 6.13.6, 7.6.0, 7.13.0, 7.13.5, 8.5.12
-
None
-
16
-
Severity 3 - Minor
-
8
-
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
- Create a test page and attach the pptx file
- Publish the page and Edit
- Insert the macro "Office Powerpoint" and select the attached ppts file
- Update the page
- 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.