Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

java.lang.ArrayIndexOutOfBoundException errors appearing in log



Log file is showing out of bounds errors for the ChannelServices-Event-.SendToDesktop activity.

Error Messages


Steps to Reproduce

This occurs for some operators when attempting to answer a call.

Root Cause

Some operator records do not have a workstation ID and the ChannelServices-Event-.SendToDesktop activity requires that value to be supplied in the _ChannelParam parameter.

Here is the indicator of exactly what line is failing due to the invalid CTIEvent.pyWorkStationId :

. . .
// Due to compatilbity concerns, classic CTILink has a shortened HTTP presence id string
// with just the Requestor ID
String reqID="";

if (presenceAgent.contains("Channel"))
reqID = presenceAgent.split("ChannelParam=")[1]; < = = = = = =
reqID = presenceAgent;
. . .


Supply a ChannelParam parameter to the ChannelServices-Event-.SendToDesktop activity or avoid calling the activity if none is available.

Suggest Edit

Published August 26, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us