Hi
I'm using 20.20.1089, and I'm getting an exception sometime while looping over like this
foreach (TableRow row in table.TableRows) { for (int i = 0; i < row.OwnTableCells.Count ; ++i) { // EXCEPTION INDEX OUT OF RANGE TableCell cell = row.OwnTableCells [i]; } }
Under the debugger, row.OwnTableCells.Count is 0, but the loop index i has been increments. I can get Exception:Object reference not set to an instance of an object.
This happens sometimes only, which is the puzzling part.The webpage is always refreshing automatically after a few seconds. Could this be the cause of it? Is there a way to disable the cache?
Robin
PS. I'm trying to get this posted on Watin mailing list but it seems the moderator is gone missing, and not approving any new registrations.