TOracleDataSet.Refresh: List index out of bounds (485)

mint

Member²
Marco,

our customers reports the following problem frequently:

EListError: List index out of bounds (485)

at

0046ed4d +019 R.exe Classes TList.Get
00611bdc +068 R.exe OracleData 2031 +3 TRecordDataList.GetItem
00611f70 +034 R.exe OracleData 2182 +5 TRecordDataList.RecordAt
0062220f +0a3 R.exe OracleData 8079 +23 TOracleDataSet.GetRecord
00533723 +0eb R.exe DB TDataSet.Resync
00533e90 +054 R.exe DB TDataSet.Refresh
...

The dataset in question is used in a DevEx quantum grid. In that situation the user had double clicked on a row in the grid and eventually refresh() is called on the dataset which can expose the problem as you can see above.

This is with Delphi 2006, DOA 4.0.7 and Oracle 9.

Any ideas?
 
Why would this refresh be called as a result of a double-click? That doesn't seem right. Can you check this?
 
I admit it is unusual but I would rather not change it, this is more or less legacy code. But regardless, there shouldn't be an index out of bounds exception, right?
 
Back
Top