You are currently reviewing an older revision of this page.

DRAFT INT-XXXX Error in setup tab of Send Email node, "The system has encountered a problem"


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:

Option 1

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 2

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.

To do this, take the following steps:

  1. Edit config.xml located at <APPIAN_HOME>/ear/suite.ear/web.war/WEB-INF/conf/dataload (18.2 and earlier) or <APPIAN_HOME>/deployment/web.war/WEB-INF/conf/dataload (18.3 and later).
    1. Create a backup of config.xml.
    2. Comment out all <configuration-object> elements except for "email-template" so the uncommented file reads:
              <configuration-object name="email-template" type="com.appiancorp.common.initialize.LoadEmailTemplates"/>
        </configuration-objects >
  2. If on 18.3 or later, edit the workingPath in load.bat/sh by replacing ear/suite.ear with deployment.
  3. Run load.bat/sh.
  4. Restore the backup of config.xml.

Affected Versions

This article applies to all versions of Appian.

Last Reviewed: February 2019