NullReferenceException with two hints at the same time

Post Reply
josch
Posts: 1
Joined: Sun Jan 12, 2014 12:16 am

NullReferenceException with two hints at the same time

Post by josch » Sun Jan 12, 2014 12:21 am

Hi,

I have hints activated. at some point I got two hints shortly after each other so that one of them would be on top of the other. Once I clicked one of them away my game quit with the following error:

Code: Select all

System.NullReferenceException: Object reference not set to an instance of an object
  at Reus.View.GameplayScreen+<OnShowDialogBox>c__AnonStoreyA.<>m__19 (System.Object s, Reus.View.UI.MessageBoxResultEventArgs e) [0x00000] in <filename unknown>:0 
  at Reus.View.UI.MessageBox.OnClicked (DialogBoxResult result) [0x00000] in <filename unknown>:0 
  at Reus.View.UI.MessageBox+<AddButton>c__AnonStorey0.<>m__3 (System.Object s, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.ButtonBase.OnLeftClick () [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.ButtonBase.OnMouseReleased (MouseButtons button) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.UIControl.MouseButtonReleased (MouseButtons buttons) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.UIControl.MouseButtonReleased (MouseButtons buttons) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.UIControl.MouseButtonReleased (MouseButtons buttons) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.UIControl.MouseButtonReleased (MouseButtons buttons) [0x00000] in <filename unknown>:0 
  at SpaceTech.UI.Controls.UIScreen.OnMouseButtonReleased (MouseButtons buttons) [0x00000] in <filename unknown>:0 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___MouseButtons (SpaceTech.Input.MouseButtons)
  at SpaceTech.Input.XNAMouse.CompareButtons (ButtonState curState, ButtonState newState, MouseButtons which) [0x00000] in <filename unknown>:0 
  at SpaceTech.Input.XNAMouse.Update () [0x00000] in <filename unknown>:0 
  at SpaceTech.Input.InputManager.Update () [0x00000] in <filename unknown>:0 
  at Reus.Application.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.SDL2_GameWindow.INTERNAL_RunLoop () [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.Game.Run (GameRunBehavior runBehavior) [0x00000] in <filename unknown>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0 
  at Reus.Program.ActualMain () [0x00000] in <filename unknown>:0 
I'm running reus on Debian Wheezy.

Post Reply