Troubleshoot Common Issues

This page provides some recommendations on how to troubleshoot some common issues that arise when developing, deploying, designing, or executing your connected system plug-in.

Development

Issues that may arise during development of a connected system plug-in.

Compilation Fails

  • Ensure the libraries are accessible from your development machine, this may require an internet connection to the Maven repository.
  • Ensure Core and Client versions that are used for compilation match the SDK version compatibility table.
    • For example, client is compiled with a minimum supported version of Core. If a lower version of Core is used then compilation may fail.

Jar Task Fails

  • Ensure no two packages have the same name.

Deployment

Issues that may arise during installation or deployment of a connected system plug-in.

Registering Services Error

If you find the Registering Services error is logged, this is not an actual error that will affect the plug-in functionality

Plug-in Fails to Deploy

  • Ensure Java compiler version is 1.8
  • Ensure Core and Client versions that are used for compilation match the SDK version compatibility table for the targeted Appian environment.

Design

Issues that may arise while configuring applications and objects within the Appian Designer:

Values are not persisted when loading a Connected System or Integration

  • If you are using the Client library and creating a new SimpleConfiguration object in getConfiguration(), please ensure to call setValue() with the old values from the SimpleConfiguration parameters.
  • If you are using the Core library, please ensure the State object is being reused in getConfigurationDescriptor().

The getConfiguration Methods are not Called when Values Change in the UI

  • Ensure PropertyDescriptor.refresh() is set to RefreshPolicy.ALWAYS.

Can not find class Error Message on Load of Connected System

Name and Description Labels are Showing as ???myKey???

  • Ensure the resource file is present, in the correct location, and the keys are correct.
  • Ensure setProperties is called in each call to getConfiguration using the correct locale.

Labels are not Showing as Internationalized

  • Ensure that you have provided a corresponding resource file for the new Locale.
  • Ensure you are building a SimpleConfiguration or ConfigurationDescriptor using ExecutionContext.getDesignerLocale().
  • Ensure setProperties is called in each call to getConfiguration using the correct locale.

Connected System, Integration, or Client API Objects are not Appearing in UI

  • Ensure the objects have the @TemplateId annotation.
  • Ensure the objects are registered in the appian-plugin.xml.
  • Ensure integration-template and client-api elements are nested within their parent connected-system-template in the appian-plugin.xml.

Logos are not Appearing in UI

  • Ensure the image type is one of the following: .svg, .jpg, .jpeg, or .png
  • Ensure the images have the correct paths and are named correctly.
  • See how to add logos for more details.

500 Box with No Value Present Message

  • If you are using the Client library and creating new LocalTypeDescriptor, ensure that the LocalTypeDescriptor is registered by calling localTypeProperty on your instance of the SimpleIntegrationTemplate class
  • If you are using the Core library, ensure that all Local Types that are used in the ConfigurationDescriptor are passed to the StateGenerator constructor

Properties within LocalType are not Appearing

  • Ensure the LocalTypeDescriptor.properties() is not null
  • If you are using the Client library and creating new LocalTypeDescriptor, ensure that the LocalTypeDescriptor is registered by calling localTypeProperty on your instance of the SimpleIntegrationTemplate class
  • If you are using the Core library, ensure that all Local Types that are used in the ConfigurationDescriptor are passed to the ConfigurationDescriptorBuilder.withTypes() method

Error Box with a Status Code of 500 when Opening a Integration SDK Object

  • Ensure that the Integration SDK object is still installed in a plug-in.
  • Ensure the Integration SDK object is abiding by the restrictions.

Execution

Issues that may arise when the user is using the Integration SDK objects from within Appian:

Failures are Showing for Plug-in Objects

  • Check the status and settings of all required 3rd party dependencies
    • Check proxy, OAuth, keys, credentials, and VPN
    • For example, a Process Modeler throws a 500 internal error indicating that it fails when communicating with the external system.
  • Ensure all configurations to 3rd party systems are set appropriately.
    • For example, connection strings or credentials.

Integration Executes Multiple Times

  • If the template executes a WRITE action (such as sending a document or inserting data), then the SimpleIntegrationTemplate/IntegrationTemplate class should be annotated with @IntegrationTemplateType(IntegrationTemplateRequestPolicy.WRITE).

Null Pointer Exception on a Required Field

  • The required property only enforces requiredness in the integration designer.
  • Ensure the integration execute method contains handling for null values, even the required values.
FEEDBACK