[Mono-list] Index is less than 0 or more than or equal to the list count

neilkonitzer neilkonitzer at gmail.com
Tue Sep 2 15:00:07 EDT 2008


Is anyone aware of any issues with the System.Collections class that requires
code work-arounds? I have an ASP.NET application that works fine in Windows.
However, running in Mono, I get the following exception in three different
places. In one situation, I am simply deleting a record from a data grid. In
another, I am making changes to a datatable. The problem appears to be
isolated to System.Collections.ArrayList.get_item. Here is the pertinent
stack trace:

Thanks in advance!

System.ArgumentOutOfRangeException: Index is less than 0 or more than or
equal to the list count.
Parameter name: index
-1
  at System.Collections.ArrayList.get_Item (Int32 index) [0x00032] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/corlib/System.Collections/ArrayList.cs:2645 

Neil Konitzer
Freisoft Consulting Services, Inc.
-- 
View this message in context: http://www.nabble.com/Index-is-less-than-0-or-more-than-or-equal-to-the-list-count-tp19276278p19276278.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list