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 log prints the following error for SYSTEM_DOC_EMAIL_HEADER or SYSTEM_DOC_EMAIL_FOOTER:
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.
The emailHeader.html and/or emailFooter.html files 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.
Option 1 is easier and preferable, but if needed 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>
<configuration-objects> <configuration-object name="email-template" type="com.appiancorp.common.initialize.LoadEmailTemplates"/> </configuration-objects >
ear/suite.ear
deployment
This article applies to all versions of Appian.
Last Reviewed: February 2019