WebView connection fails after 9.7 upgrade & log contains: "Failed to get the SerializationPolicy 'XXX' for module 'http://yyyyy/webview/'..."

Document ID : KB000029757
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Upgraded from version 9.5.3 to 9.7.0.27. Afterwards, cannot connect to WebView and seeing repeated messages in the WebView log:

[INFO] [/] Context Health: WARNING: Failed to get the SerializationPolicy 'XXX' for module 'http://YYYY/webview/'; a legacy, 1.3.3 compatible, serialization policy will be used. You may experience SerializationExceptions as a result.

[WARN] [/] Exception while dispatching incoming RPC call
com.google.gwt.user.client.rpc.SerializationException: Type 'com.ca.apm.introscope.workstation.webapp.shared.data.ContextHealthStateBean$EMState' was not assignable to 'com.google.gwt.user.client.rp
c.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = EM_UP

Note: XXX = policy number (hex) & YYY= URL. 

 

Solution:

After a WebView successful restart, UI access should be possible but the "serialization policy" related errors may remain for a while. This is due to a caching issue on the browser side. Eventually, they will stop. However, clearing the browser cache and reconnecting to WebView should help speed up that process.