Skip to main content
FluidEarth Portal Header version 3

FluidEarth Portal

Go Search
FluidEarth Portal > FluidEarth Discussions > 'Index was outside the bounds of the array' error > 'Index was outside the bounds of the array' error  

FluidEarth Discussions: 'Index was outside the bounds of the array' error


hi again,
had a quick look through your code and found one thing for you to look at - there's a reference to the old sdk in your two .xml files.
if you change this ref to the one for the new sdk (see the attached pdf or 'buildcollapse.xml' for an example of what this should be) and try again, it will tell us something. i changed only this and your composition ran fine on my machine. if you don't get the same result using the same model and code, i have another couple of suggestions we can try but they're a bit more involved. and if that doesn't work, we can ask Adrian Harper to help us figure out what's going on.
let me know how you get on,

From: ZZhang
Posted: 28 May 2010 09:39
Subject: 'Index was outside the bounds of the array' error

Hi, Gordon,
I have wrapped the DIVAST using the new SDK. However, I still got the same issue 'Index was outside the bounds of the array'.DIVAST_Hydro and DIVAST_Write can run successfully separately.

Attacheds are the Log file and wrapped DIVAST model.
So can you give some advice? Thanks.
Content Type: Message
Created at 28/05/2010 16:37  by GGlasgow 
Last modified at 28/05/2010 16:37  by GGlasgow