cday41 / paz-search

Automatically exported from code.google.com/p/paz-search
0 stars 0 forks source link

index out of range when sequentially releasing large # of animals #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I set up a run where I released 300 animals every hour to see if I could 
get around the crashing when we start with too many animals (or at least 
figure out where our ceiling is). After the second release I got an error 
that said:

01/02/2010 10:04:53:634:  Index was out of range. Must be non-negative and 
less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException
(ExceptionArgument argument, ExceptionResource resource)
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at SEARCH.MapManager.AddTimeSteps(Int32 AnimalID, IPolygon inPoly1, 
IPolygon inPoly2, Int32 timeStep, String sex) in C:\v250x86
\DataCentric\MapManager.cs:line 157

I am not sure what value is out of range that would cause this issue. I 
have attached the dispersal error log and xml. Let me know if you want the 
maps so that you can recreate the issue on your end.

Original issue reported on code.google.com by bpa...@purdue.edu on 2 Jan 2010 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
Ben 
Please post the maps to the FTP site.  I could probably make it happen here, 
but I
would like to be identical.

cheers

bob

Original comment by ran...@mwwb.net on 2 Jan 2010 at 5:17

GoogleCodeExporter commented 9 years ago
testmap.zip is now up on the FTP site. That should have all of the maps that 
you 
need.

Original comment by bpa...@purdue.edu on 4 Jan 2010 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by ran...@mwwb.net on 23 Nov 2013 at 5:43