Page 1 of 1
Server crash caused(?) by "Group index is out of bounds"
Posted: Mon May 25, 2015 10:35 pm
by Martin Ryan
Our server crashed this morning. The error "group index is out of bounds" appeared in the message log. A Google and forum search doesn't return anything for this. Anyone know what it means? Not 100% sure it caused the crash as it says TM1.Client rather than TM1.Server, but the timing is suspicious.

- groupindexisoutofbounds.png (26.68 KiB) Viewed 3623 times
Re: Server crash caused(?) by "Group index is out of bounds"
Posted: Tue May 26, 2015 10:04 am
by Alan Kirk
Martin Ryan wrote:Our server crashed this morning. The error "group index is out of bounds" appeared in the message log. A Google and forum search doesn't return anything for this. Anyone know what it means? Not 100% sure it caused the crash as it says TM1.Client rather than TM1.Server, but the timing is suspicious.
I've not seen it before. Based on my adventures in API land it
sounds to me like something in the system has returned an array (TM1ValArray) of Group objects, and that a TM1ValArrayGet (or similar) function is being called using an index to retrieve one of those groups... but that the index that is passed is outside the array boundaries.
I can think of how that could happen in badly written API code, but I know that you don't use a lot of API code. And that shouldn't be enough to crash the server. In theory. The client, certainly, but not the server. And if this is system code, I can't imagine how it could come about at all unless something or someone was deleting security groups at the same time as another something or someone was interrogating them, and there's no indication of that.
Basically I'm guessing here, but it's not a completely uneducated guess. But what could have triggered it - well, outside of what I said above,
that I can't even guess at.
Re: Server crash caused(?) by "Group index is out of bounds"
Posted: Tue May 26, 2015 11:10 am
by Duncan P
Given that the server died, and that these are messages from the server log, it seems quite likely that "TM1.Client" means that this is an error raised by a server class for handling the interaction with the client.
One way to test this would be to increase the log level of TM1.Client (to e.g. debug) and see what kind of messages are logged.
Re: Server crash caused(?) by "Group index is out of bounds"
Posted: Thu May 28, 2015 3:29 am
by Martin Ryan
Thanks guys. It seems to be the first time it's happened, if it becomes a regular issue I'll turn on the debugging as you suggest Duncan.
Given that the web, the forum and two long term TM1ers (three if you count me) have never heard of it, I'm hopeful it's an isolated event and won't show up again.