| Wizards of SimPE & SimPE Bugs > Index was out of range | ||
| Judhudson | ||
Member since: 2005-09-29 Posts: 4 | Hey Quaxi, I seem to be getting this when I import one of my models for an object. I can't really figure out what is causing the problem. I don't think it is the model itself, but I'm not too positive. The error is below. If you need more information or would like to see the model, then I'll be glad to send it your way for debugging. Thanks! Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index SimPE Version: Default (0.48.2087.35611). Exception Stack: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at SimPe.Plugin.Gmdc.GmdcImporterBase.BuildGroup(ImportedGroup g) at SimPe.Plugin.Gmdc.GmdcImporterBase.ProcessLists(ImportedGroups grps) at SimPe.Plugin.Gmdc.GmdcImporterBase.LoadGroups() at SimPe.Plugin.Gmdc.AbstractGmdcImporter.Process(Stream input, GeometryDataContainer gmdc, Boolean animationonly) at SimPe.Plugin.fGeometryDataContainer.StartImport(OpenFileDialog ofd, GeometryDataContainer gmdc, String defext, ElementSorting sorting, Boolean animationonly) at SimPe.Plugin.fGeometryDataContainer.button1_Click(Object sender, EventArgs e) Source: mscorlib Execution Stack: at System.Collections.ArrayList.get_Item(Int32 index) at SimPe.Plugin.Gmdc.GmdcImporterBase.BuildGroup(ImportedGroup g) at SimPe.Plugin.Gmdc.GmdcImporterBase.ProcessLists(ImportedGroups grps) at SimPe.Plugin.Gmdc.GmdcImporterBase.LoadGroups() at SimPe.Plugin.Gmdc.AbstractGmdcImporter.Process(Stream input, GeometryDataContainer gmdc, Boolean animationonly) at SimPe.Plugin.fGeometryDataContainer.StartImport(OpenFileDialog ofd, GeometryDataContainer gmdc, String defext, ElementSorting sorting, Boolean animationonly) at SimPe.Plugin.fGeometryDataContainer.button1_Click(Object sender, EventArgs e) | |
| Judhudson | ||
Member since: 2005-09-29 Posts: 4 | Here is a google search on the error: http://www.google.com/search?hl=en&q=%22Index+was+out+of+range.+Must+be+nok-negative+and+less+than+the+size+of+the+collection.+%22 Perhaps this will help you out? I'm beginning to think it isn't the mesh after all.... | |
| quaxi | ||
Member since: 2006-04-28 Posts: 3154 | :) Well the reason for the Exception is simple to explain, the Problem is to find out what is causing the wrong index. | |
viewthread, 0, 0, Index-was-out-of-range