Preview of some PowerPoint files fail to render

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

After attaching certain PowerPoint files on a Confluence page and publishing it, the preview keeps loading indefinitely and eventually shows the error "There was a problem converting this attachment".

Environment

Confluence Server or Data Center

Diagnosis

  1. While the preview fails, the file can be downloaded successfully.

  2. The following error is seen in the application logs:

    atlassian-confluence.log

    2020-08-22 12:20:41,807 ERROR [DefaultSlideCacheManager:thread-1] [com.benryan.conversion.AbstractSlideConversionTask] call problem while converting test.pptx -- referer: https://example.site.com/display/AA/Test+Page | url: /plugins/servlet/pptslide | traceId: d153768c7837eeb8 | userName: user1 java.lang.IllegalArgumentException: image == null!

Cause

The preview is timing out for certain PowerPoint files as Confluence is not able to perform the document conversion within the default configured time of 30 seconds.

Solution

Platform

Property to set

Data Center

conversion.sandbox.java.options (wraps the individual timeout properties for the Sandbox process)

Server

Set the properties directly (no sandbox wrapper)

  1. Shutdown Confluence

  2. Add the following properties to <Confluence-Install>/bin/setenv.sh (when using Linux) or setenv.bat (when using .bat file in Windows). In case you are running Confluence as service in Windows, refer to Configuring System Properties (under Windows service)

    ⚠️The process is different between Data Center and Server installations of Confluence:

    Data Center

    Data Center has separate Sandbox processes to do conversions. We need to use conversion.sandbox.java.options (Recognized System Properties) to pass the required parameters to external processes. For further information kindly review the Document conversion for Confluence Data Center KB article.

    ℹ️ To ensure each Sandbox system property is recognized correctly, please separate them with commas.

    • setenv.sh - Linux

      CATALINA_OPTS="-Dconversion.sandbox.java.options=-Dconfluence.document.conversion.slides.convert.timeout=120,-Dconfluence.document.conversion.imaging.convert.timeout=120 ${CATALINA_OPTS}"
    • setenv.bat - Windows

      set CATALINA_OPTS=-Dconversion.sandbox.java.options=-Dconfluence.document.conversion.slides.convert.timeout=120,-Dconfluence.document.conversion.imaging.convert.timeout=120 %CATALINA_OPTS%

    Server

    • setenv.sh - Linux

      CATALINA_OPTS="-Dconfluence.document.conversion.threads=3 ${CATALINA_OPTS}" CATALINA_OPTS="-Dconfluence.document.conversion.slides.convert.timeout=120 ${CATALINA_OPTS}" CATALINA_OPTS="-Dconfluence.document.conversion.imaging.convert.timeout=120 ${CATALINA_OPTS}"
    • setenv.bat - Windows

      set CATALINA_OPTS=-Dconfluence.document.conversion.threads=3 %CATALINA_OPTS% set CATALINA_OPTS=-Dconfluence.document.conversion.slides.convert.timeout=120 %CATALINA_OPTS% set CATALINA_OPTS=-Dconfluence.document.conversion.imaging.convert.timeout=120 %CATALINA_OPTS%
  3. Delete the contents from inside the folder <Confluence-Home>/viewfile/

  4. ℹ️ For Data Center instances, also delete the contents inside:

    <Confluence-Home>/shared-home/dcl-document/

    <Confluence-Home>/shared-home/dcl-document_hd/

  5. Clear Confluence plugins cache

  6. Startup Confluence

Verification

After completing the steps above and restarting Confluence, navigate to the page containing the previously-failing PowerPoint attachment. Because the preview cache was cleared, Confluence will perform a fresh conversion using the new timeout values. Allow a few minutes for the conversion to complete, then confirm the preview renders successfully instead of showing "There was a problem converting this attachment.

Note: The timeout properties in this article (confluence.document.conversion.slides.convert.timeout and confluence.document.conversion.imaging.convert.timeout) target PowerPoint and complex image conversions specifically. If Word or Excel previews are also timing out, the relevant property is document.conversion.sandbox.request.time.limit.secs, which controls the overall sandbox conversion time limit. See Document conversion for Confluence Data Center | Confluence Data Center 8.4 | Atlassian Documentation for full details.

Updated on August 5, 2026

Still need help?

The Atlassian Community is here for you.