Open AtkinsSJ opened 14 years ago
Unhandled Exception: System.ArgumentNullException: Argument cannot be null. Parameter name: value at System.Enum.Parse (System.Type enumType, System.String value, Boolean ignoreCase) [0x00000] at System.Enum.Parse (System.Type enumType, System.String value) [0x00000] at spacecraft.PacketLengthInfo.Lookup (PacketType p) [0x00000] at spacecraft.Connection.ReceivePacket () [0x00000] at spacecraft.Connection.HandleIncomingPacket () [0x00000] at spacecraft.Connection.ReadThread () [0x00000]
That's quite mysterious. My best guess is an invalid packet of some type was sent.
Always sanitise your inputs! Or at least handle the exceptions gracefully. :P