KB-1058 SerializationException in application server log

Symptoms

When accessing Tempo, the following pink box error is returned:

A server error was encountered while processing your request. Please try again.

The application server log contains the following error:

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/suite]] (ajp-/0.0.0.0:8009-1) 
Exception while dispatching incoming RPC call: com.google.gwt.user.client.rpc.SerializationException: 
Type '[Lcom.appiancorp.suiteapi.type.Datatype;' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.
For security purposes, this type will not be serialized.: instance = [Lcom.appiancorp.suiteapi.type.Datatype;@1f5a7cbd
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:667) [gwt-servlet-2.7.0.jar:]
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:130) [gwt-servlet-2.7.0.jar:]
    ...
    at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:420) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1]
    at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_51]

Cause

The web server is not servicing the correct static content.

Action

To correct the issue, perform the following:

  1. Navigate to <WEB_SERVER_HOME>/suite/.
  2. Navigate to <APPIAN_HOME>/ear/suite.ear/web.war.
  3. Compare the two directories using a difference checker. Alternatively, ensure that the size of the folder contents of Step 1 and 2 are the same. If they are not the same, copy over the contents from <APPIAN_HOME>/ear/suite.ear/web.war to <WEB_SERVER>/suite/.

Affected Versions

This article applies to all versions of Appian using a web server.

Last Reviewed: February 2017

Related
Recommended