API Support Forum
OEC API > API Support > Index was out of range....Parameter name: index
Author Topic: Index was out of range....Parameter name: index
(3 messages, Page 1 of 1)
Moderators: VPfau
jlanawalt
Posts: 88
Joined: Feb 12, 2009


Posted: Feb 16, 2012 @ 01:08 PM             Msg. 1 of 3
We have a user who was getting this message since yesterday. It starts as soon as our software logs into the API and repeats occasionally as long as it is running.

The message stopped before we were able to dig too deeply, about the same time their stop order took them out of the live cattle market.

Our software was getting the message as part of the mscorlib::_ExceptionPtr.Message on the OnError call-back handler.

How can we figure out what index was out of range?

Thanks,
Jacob
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Feb 16, 2012 @ 01:38 PM             Msg. 2 of 3
Please send me username of this user.

Victor Vins
Lead Software Developer
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Feb 17, 2012 @ 09:28 AM             Msg. 3 of 3
I've received the username via our Customer Service.

Stack Trace of unhandled exception points to event handler of OnAvgPositionChanged. Unfortunately, we do not have more detailed stack trace for COM application.

Victor Vins
Lead Software Developer