Hi!
I have connector that processes SNMP traps from another DMS. The connector receives the trap and adds or update a row to a table. However, I noticed that not all the updates were present in the table.
When I open the logs, I saw the following log entries:
2024/01/24 19:40:40.194|SLProtocol - 14168 - |16132|ARRAY::GetAt|ERR|-1|[Cell retrieval] Table [Alarm Traps [1000]] [Column: Alarm PK ID [1001]] Get of row 4732 [only 4596 row(s) available]
2024/01/24 19:40:40.194|SLProtocol - 14168 - |16132|ARRAY::SetAt|ERR|-1|[Cell update] Table [Alarm Traps [1000]] [Column: Alarm [IDX] [1002]] Set on row 4732 [only 4596 row(s) available]
...
Could you give a little more background on the entries? What could be the possible root cause?
Thanks in advance!
Hi Frederic,
You can have these errors when using GetParameterIndex or SetParameterIndex. The second argument of these methods is the 1-based row number of the cell that you want to get or set. In your case you have a table with 4596 rows, but you want to get/set row number 4732 which doesn't exist.