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

Gert Driesen gert.driesen at telenet.be
Wed Sep 3 01:20:47 EDT 2008


Neil,

Please create a standalone repro for this issue, and submit a bug report.

Gert

-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of neilkonitzer
Sent: dinsdag 2 september 2008 21:00
To: mono-list at lists.ximian.com
Subject: [Mono-list] Index is less than 0 or more than or equal to the list
count


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/Ar
rayList.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.

_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list



More information about the Mono-list mailing list