Genesys CTI User Forum

Genesys CTI User Forum => Genesys-related Development => Topic started by: pplppo1314 on March 20, 2012, 08:01:06 AM

Title: when retrieveMultipleObjects cause a ConfigException with platform SDK 8.0
Post by: pplppo1314 on March 20, 2012, 08:01:06 AM
Hey guys!
Ive Registered the ConfService Object.When retrieveMultipleObjects AgentGroups, i'm getting an exception stating:[color=red]com.genesyslab.platform.applicationblocks.com.ConfigException:There are not enough object paths in the Read request result[/color], what does it mean? how to deal with it ?

my code as followed :

cfgAgentGroupQuery query = new CfgAgentGroupQuery ();
query.setState ( CfgObjectState.CFGEnabled );
Collection<CfgAgentGroup> collection = m_cfgService.retrieveMultipleObjects ( CfgAgentGroup.class, query );

it's weird that the same code it worked before, but failed now.
thanks!