Author Topic: Crash on joining Host  (Read 2615 times)

BeAuMaN

  • Posts: 2
  • Maggot Crusher.
    • View Profile
Crash on joining Host
« on: January 12, 2014, 01:21:03 AM »
Friend was hosting the game. Everyone who joined crashed once, and then they were able to join without any problems. Error Txt:

Code: [Select]
--- UNHANDLED EXCEPTION - 1/11/2014 11:56:34 AM - HMW 1.2 ---
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at ARPGGame.Menus.LobbyMenu.ChangeClass(Int32 peerId, PlayerClass newClass) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Menus\LobbyMenu.cs:line 556
   at ARPGGame.Networking.SystemHandler.ChangeClass(Int32 peerId, Int32 classId) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Networking\SystemHandler.cs:line 119
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at TiltedEngine.Networking.NetworkMessage.Recieve(NetIncomingMessage inc, Int32 senderId) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\Networking\NetworkMessage.cs:line 189
   at TiltedEngine.Networking.Network.GotData(NetIncomingMessage inc) in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\Networking\Network.cs:line 552
   at TiltedEngine.Networking.Network.Update() in c:\Projects\ARPGProj\trunk\Tilted Engine\TiltedEngine\Networking\Network.cs:line 402
   at ARPGGame.GameBase.Update(Int32 ms) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\GameBase.cs:line 759
   at ARPGGame.ARPGGame.OnUpdateFrame(FrameEventArgs e) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 691
   at OpenTK.GameWindow.RaiseUpdateFrame(Stopwatch update_watch, Double& next_update, FrameEventArgs update_args)
   at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
   at ARPGGame.Program.Main(String[] args) in c:\Projects\ARPGProj\trunk\ARPG\ARPGGame\Program.cs:line 206
------