You are currently reviewing an older revision of this page.

SP-2931 DRAFT KB-XXXX Export to Excel doesn't work following an upgrade to 19.2 and above

Symptoms

When trying to export a record to Excel, the following error appears in the application server log:

YYYY-MM-DD HH:MM:SS.mmm SEVERE [ajp-nio-8009-exec-10] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [default] in context with path [/suite] threw exception
com.appiancorp.suiteapi.common.exceptions.AppianException: Error occurred during export. Please contact a system administrator for additional details. (APNX-1-4505-057) 
Caused by: java.lang.NullPointerException
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)

When trying to open the Excel file generated, the following error appears:

Cause

Appian needs some fonts to be available on the server to be able to use this feature. This issue is seen when those fonts are missing.

Action

Linux

Run the following command:

yum install fontconfig

Windows

Follow these steps on installing a font in Windows to install the fonts needed.

Affected Versions

This article applies to Appian version 19.2 and later.

Last Reviewed: August 2019