July 16, 2018, 01:39:56 AM

Author Topic: Crash (Index was out of range)  (Read 1237 times)


  • Moderator
  • Sr. Member
  • *****
  • Posts: 331
  • No matter where I am, you can find me there.
    • View Profile
    • Gnomoria Wiki
Crash (Index was out of range)
« on: June 12, 2012, 01:22:31 PM »
Got a new one after loading a game. Bit of background, it would seem to freeze up for about 30sec randomly, so I saved it and exited. Then I went to load it a few hrs later and got:
Code: [Select]
    Date: 6/12/2012 1:18:31 PM
Assembly: Gnomoria.exe
 Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at Game.ItemHistory..ctor(ItemID id, List`1 components, String name)
   at Game.Item..ctor(Vector3 pos, ItemID id, List`1 components)
   at Game.CraftItemJob.Complete(Character character)
   at Game.Character.CompleteJob()
   at Game.Behaviors.PerformJob.a(Character A_0, Single A_1)
   at Game.BehaviorTree.Action`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   at Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   at Game.Character.Update(Single dt)
   at Game.GameEntityManager.eval_a(Single A_0)
   at Game.GameEntityManager.Update(Single dt)
   at Game.GnomanEmpire.eval_b(Single A_0)
   at Game.GnomanEmpire.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameHost.OnIdle()
   at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at eval_h.a(String[] A_0)

Let me know if you need the save let me know.
Wiki | Bugzilla | Chat
Feature Requests | Bugs
The views expressed are my own and do not reflect the views of Robotronic Games unless specifically specified as such