You are currently reviewing an older revision of this page.
The Setup tab of a Send E-mail Smart Service node throws the following error:
The system has encountered a problem. We're sorry! A problem occurred while processing your last request. Please contact the system administrator for more information.
Additionally, the application server logs the following error for SYSTEM_DOC_EMAIL_HEADER or SYSTEM_DOC_EMAIL_FOOTER:
INFO [ajp-nio-8009-exec-2300] org.apache.catalina.core.StandardWrapperValve.invoke 2018-10-23 02:27:10,836 [ajp-nio-8009-exec-2300] ERROR com.appiancorp.common.struts.BaseAction - Error executing action: com.appiancorp.ix.binding.UnresolvedRuntimeException: type=content, sourceId=SYSTEM_DOC_EMAIL_HEADER: java.lang.NullPointerException [{1}] cannot be found. [{1}] cannot be found.
emailHeader.html and/or emailFooter.html are missing from Appian.
Confirm that one or both of the files are missing from Appian by searching for "emailHeader" or "emailFooter" in the Objects tab of Appian Designer.
To retrieve these files, there are two options:
The e-mail templates can be exported from any Appian environment and imported into the environment where they are missing. The default location for e-mail templates is All Objects>Default Community>System Knowledge Center>E-mail Templates.
All Objects>Default Community>System Knowledge Center>E-mail Templates.
Appian Support can also provide the e-mail templates over a support case.
Option 2:
Alternatively, these files can be regenerated by using the load.bat/sh script located in <APPIAN_HOME>/_admin/_scripts
<APPIAN_HOME>/_admin/_scripts
To do this, take the following steps:
<APPIAN_HOME>/ear/suite.ear/web.war/WEB-INF/conf/dataload
<APPIAN_HOME>/deployment/web.war/WEB-INF/conf/dataload
<configuration-object>
ear/suite.ear
deployment
<configuration-objects> <configuration-object name="email-template" type="com.appiancorp.common.initialize.LoadEmailTemplates"/></configuration-objects>
This article applies to all versions of Appian.
Last Reviewed: February 2019