December 17, 2017, 09:24:58 AM

Author Topic: Crash (Object reference not set to an instance of an object.)  (Read 1221 times)

bvierra

  • Moderator
  • Sr. Member
  • *****
  • Posts: 331
  • No matter where I am, you can find me there.
    • View Profile
    • Gnomoria Wiki
Got a crash after playing for a few hours. Not sure how to get you more logs as I do not see any. I can send you the game save from about 15min before if its any help.

////////////////////////////////////////////////////////////////
    Date: 6/10/2012 10:08:38 PM
Assembly: Gnomoria.exe
 Version: 0.8.0.0
 Message: Object reference not set to an instance of an object.
////////////////////////////////////////////////////////////////
   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)
////////////////////////////////////////////////////////////////
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

Chain

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Crash (Object reference not set to an instance of an object.)
« Reply #1 on: June 12, 2012, 04:40:47 AM »
I got the same exception here is the log:

Code: [Select]
////////////////////////////////////////////////////////////////
    Date: 12.06.2012 13:39:22
Assembly: Gnomoria.exe
 Version: 0.8.0.0
 Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
////////////////////////////////////////////////////////////////
   bei Game.Behaviors.PathToBed.a(Character A_0, Single A_1)
   bei Game.BehaviorTree.Condition`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Sequence`1.Execute(T character, Single dt)
   bei Game.BehaviorTree.Selector`1.Execute(T character, Single dt)
   bei Game.Character.Update(Single dt)
   bei Game.GameEntityManager.eval_a(Single A_0)
   bei Game.GameEntityManager.Update(Single dt)
   bei Game.GnomanEmpire.eval_b(Single A_0)
   bei Game.GnomanEmpire.Update(GameTime gameTime)
   bei Microsoft.Xna.Framework.Game.Tick()
   bei Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
   bei Microsoft.Xna.Framework.GameHost.OnIdle()
   bei Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
   bei Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   bei System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)
   bei Microsoft.Xna.Framework.WindowsGameHost.Run()
   bei Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   bei eval_h.a(String[] A_0)
////////////////////////////////////////////////////////////////

I was removing floors and my Gnome got trapped in the air on a small chunk of floor without a wall under it.
« Last Edit: June 12, 2012, 04:42:59 AM by Chain »