E-CI: Getting Error "Cannot serialize an API object of class" when Calling a Component Interface from PeopleCode

(Doc ID 652536.1)

Last updated on OCTOBER 13, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.4 and later
Information in this document applies to any platform.


This document was previously published as Customer Connection Solution 201032815

***Checked for relevance on 23-Jan-2012***
***Checked for relevance on 28-JUN-2013***
***Checked for relevance on 05-Dec-2014***



Symptoms

 
When calling a Component Interface (CI) from PeopleCode, see the error "Cannot serialize an API object of class LOCATION.". There are serialization/deserialization error messages in the Application Server log for both delivered and custom CIs. Tried restarting the application server and deleted cache on Application Server but it did not help. Below is a sample of the errors.

 ICPanel](0) Cannot serialize an API object of class LOCATION.
 ICPanel](0)     An object of class ApiObject(LOCATION) failed to serialize.
 ICPanel](0) Cannot serialize an API object of class LOCATION_LOCATION_TBLCollection.
 ICPanel](0)     An object of class ApiObject(LOCATION_LOCATION_TBLCollection) failed to serialize.
 ICPanel](0) Cannot serialize an API object of class LOCATION_LOCATION_TBL.
 ICPanel](0)     An object of class ApiObject(LOCATION_LOCATION_TBL) failed to serialize.
 ICPanel](0)     An object of class ApiObject failed to deserialize.
 ICPanel](0)     An object of class ApiObject failed to deserialize.
 ICPanel](0)     An object of class ApiObject failed to deserialize.
 ICPanel](0) Cannot serialize an API object of class HH_RB_JOB_CODE.
 ICPanel](0)     An object of class ApiObject(HH_RB_JOB_CODE) failed to serialize.
 ICPanel](0)     An object of class ApiObject failed to deserialize.
...

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms