Failure to convert PPTX for within page view.
Asked by Ian Fogarty:

There appears to be certain content within a powerpoint that can cause the converter to fail resulting in the following log. User reports the following on a 2 page PPTX:

step 1 - remove images on both pages

step 2 - remove page 2

step 3 - add images back on page 1

only step 2 (1 page and no images) worked

2012-10-03 16:07:21,018 INFO main com.atlassian.confluence.lifecycle init Confluence is ready to serve

2012-10-03 16:26:01,675 WARN http-8080-10 atlassian.plugin.webresource.DefaultResourceDependencyResolver resolveDependencies Cannot find web resource module for: com.atlassian.jira.gadgets:common

-- referer: <https://www.DOMAIN.com/wiki/dashboard.action> \| url: /wiki/pages/viewpage.action \| userName: louis.x \| action: viewpage \| page: 4784138

2012-10-03 16:26:46,378 WARN http-8080-2 com.benryan.conversion.PPTSlideServlet doGet Conversion task timed out for attachment : XSolution Concept Overview.pptx with page number 0, waited : 300, now executing in background.

-- url: /wiki/plugins/servlet/pptslide \| userName: louis.x \| referer: <https://www.DOMAIN.com/wiki/s/en_GB/3388/9acf9d4587944743d0223df28e632431d99e8a2b.1/2.1.7/_/download/resources/com.atlassian.confluence.ext>

2012-10-03 16:26:53,371 ERROR DefaultSlideCacheManager:thread-1 com.benryan.conversion.AbstractSlideConversionTask call problem while converting xcmop solution concept overview.pptx

-- url: /wiki/plugins/servlet/pptslide \| userName: louis.x \| referer: <https://www.DOMAIN.com/wiki/s/en_GB/3388/9acf9d4587944743d0223df28e632431d99e8a2b.1/2.1.7/_/download/resources/com.atlassian.confluence.ext>

java.lang.NullPointerException

at com.benryan.pptx.record.AbstractSingleShape.getPredefinedShape(AbstractSingleShape.java:169)

at com.benryan.escher.EscherRenderer.renderAutoshape(EscherRenderer.java:565)

at com.benryan.escher.EscherRenderer.walkShapes(EscherRenderer.java:233)

at com.benryan.ppt.PptRenderer.render(PptRenderer.java:128)

at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:54)

at com.benryan.conversion.PPtDocumentConversionTask.convertFile(PPtDocumentConversionTask.java:15)

at com.benryan.conversion.AbstractSlideConversionTask.call(AbstractSlideConversionTask.java:44)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

<br />


Answers:
author: hsuhailah
body: Perhaps, you are encountering one of these bugs:

- <https://jira.atlassian.com/browse/CONF-16086>

- <https://jira.atlassian.com/browse/CONF-15721>

Try to save the file as .ppt and see if it makes any difference. It appears that Confluence Office Connector plugin handles .ppt better than .pptx


author: Ruchi Tandon
body: I guss you are looking for instructions on clearing Confluence caches. Here are the detailed instructions :

<https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache>


author: Keith Wallace
body: Please can you provide the link to the instructions you followed


author: Ian Fogarty
body: I followed instructions to clear various cache directories, and that seemed to do the trick.


Tags: conversion

file

ms-office

view