Mun->Minmus Advanced Transfer Produces NullReferenceException
brianmcnett opened this issue · 2 comments
I didn't see this issue come up, although some null references from the advanced transfer planner were fixed in the last build. I will attempt to reproduce this with build #353 Partial Log below.
[LOG 07:00:58.795] [Orbit Targeter]: Target is Minmus
[EXC 07:01:06.494] ArgumentException: Getting control 6's position in a group with only 6 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext ()
UnityEngine.GUILayoutUtility.DoGetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayoutUtility.GetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayout.DoButton (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayout.Button (System.String text, UnityEngine.GUILayoutOption[] options)
MuMech.MechJebModuleManeuverPlanner.WindowGUI (Int32 windowID)
UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID)
UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style)
[LOG 07:02:56.449] [Orbit Targeter]: Target is null
[LOG 07:02:58.028] [Orbit Targeter]: Target is Minmus
[EXC 07:02:58.303] ArgumentException: Getting control 6's position in a group with only 6 controls when doing Repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext ()
UnityEngine.GUILayoutUtility.DoGetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayoutUtility.GetRect (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayout.DoButton (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options)
UnityEngine.GUILayout.Button (System.String text, UnityEngine.GUILayoutOption[] options)
MuMech.MechJebModuleManeuverPlanner.WindowGUI (Int32 windowID)
UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID)
UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style)
[LOG 07:03:43.904] [PlanetariumCamera]: Focus: Adventure NASP
[LOG 07:05:10.106] dT is NaN! tA: 0.794947862625122, E: 0, M: 0, T: NaN
[LOG 07:05:11.622] dT is NaN! tA: 0.794870615005493, E: 0, M: 0, T: NaN
[LOG 07:05:12.173] dT is NaN! tA: 0.794841289520264, E: 0, M: 0, T: NaN
[LOG 07:05:12.721] dT is NaN! tA: 0.794811487197876, E: 0, M: 0, T: NaN
[LOG 07:05:14.372] dT is NaN! tA: 0.794723033905029, E: 0, M: 0, T: NaN
[LOG 07:05:14.972] dT is NaN! tA: 0.794690608978271, E: 0, M: 0, T: NaN
[LOG 07:05:15.372] dT is NaN! tA: 0.794669151306152, E: 0, M: 0, T: NaN
[LOG 07:05:15.771] dT is NaN! tA: 0.794647693634033, E: 0, M: 0, T: NaN
[EXC 07:05:15.895] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:16.038] dT is NaN! tA: 0.794634580612183, E: 0, M: 0, T: NaN
[LOG 07:05:16.289] dT is NaN! tA: 0.794620752334595, E: 0, M: 0, T: NaN
[EXC 07:05:16.442] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:16.589] dT is NaN! tA: 0.794605016708374, E: 0, M: 0, T: NaN
[LOG 07:05:16.888] dT is NaN! tA: 0.794588565826416, E: 0, M: 0, T: NaN
[LOG 07:05:17.188] dT is NaN! tA: 0.794572591781616, E: 0, M: 0, T: NaN
[EXC 07:05:17.328] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:17.472] dT is NaN! tA: 0.794556617736816, E: 0, M: 0, T: NaN
[LOG 07:05:17.822] dT is NaN! tA: 0.794540405273438, E: 0, M: 0, T: NaN
[EXC 07:05:17.927] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:18.073] dT is NaN! tA: 0.794526815414429, E: 0, M: 0, T: NaN
[LOG 07:05:18.387] dT is NaN! tA: 0.794509410858154, E: 0, M: 0, T: NaN
[EXC 07:05:18.554] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:18.705] dT is NaN! tA: 0.794493198394775, E: 0, M: 0, T: NaN
[LOG 07:05:19.004] dT is NaN! tA: 0.794477224349976, E: 0, M: 0, T: NaN
[EXC 07:05:19.159] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:19.255] dT is NaN! tA: 0.794463872909546, E: 0, M: 0, T: NaN
[LOG 07:05:19.506] dT is NaN! tA: 0.794450521469116, E: 0, M: 0, T: NaN
[LOG 07:05:19.956] dT is NaN! tA: 0.794426441192627, E: 0, M: 0, T: NaN
[LOG 07:05:20.406] dT is NaN! tA: 0.794402360916138, E: 0, M: 0, T: NaN
[EXC 07:05:20.643] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:20.789] dT is NaN! tA: 0.794380903244019, E: 0, M: 0, T: NaN
[LOG 07:05:21.189] dT is NaN! tA: 0.794359445571899, E: 0, M: 0, T: NaN
[LOG 07:05:21.489] dT is NaN! tA: 0.7943434715271, E: 0, M: 0, T: NaN
[EXC 07:05:21.643] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:05:21.789] dT is NaN! tA: 0.794327259063721, E: 0, M: 0, T: NaN
[LOG 07:05:22.189] dT is NaN! tA: 0.794305801391602, E: 0, M: 0, T: NaN
[LOG 07:05:22.738] dT is NaN! tA: 0.794276237487793, E: 0, M: 0, T: NaN
[LOG 07:05:23.255] dT is NaN! tA: 0.794248104095459, E: 0, M: 0, T: NaN
[LOG 07:05:24.366] dT is NaN! tA: 0.79422402381897, E: 0, M: 0, T: NaN
[LOG 07:05:25.635] dT is NaN! tA: 0.79420804977417, E: 0, M: 0, T: NaN
[LOG 07:05:25.940] dT is NaN! tA: 0.794202566146851, E: 0, M: 0, T: NaN
[LOG 07:05:26.650] dT is NaN! tA: 0.794186592102051, E: 0, M: 0, T: NaN
[LOG 07:05:27.365] dT is NaN! tA: 0.794170618057251, E: 0, M: 0, T: NaN
[LOG 07:05:28.023] dT is NaN! tA: 0.794138193130493, E: 0, M: 0, T: NaN
[LOG 07:05:28.622] dT is NaN! tA: 0.794106245040894, E: 0, M: 0, T: NaN
[LOG 07:05:29.223] dT is NaN! tA: 0.794074058532715, E: 0, M: 0, T: NaN
[EXC 07:05:49.743] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[EXC 07:05:50.294] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[EXC 07:05:50.795] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[EXC 07:05:51.295] NullReferenceException: Object reference not set to an instance of an object
PlanetariumCamera.LateUpdate ()
[LOG 07:06:01.458] dT is NaN! tA: 0.879775524139404, E: 0, M: 0, T: NaN
[LOG 07:06:02.458] dT is NaN! tA: 0.879703998565674, E: 0, M: 0, T: NaN
[LOG 07:06:03.408] dT is NaN! tA: 0.87963604927063, E: 0, M: 0, T: NaN
[EXC 07:06:03.962] NullReferenceException: Object reference not set to an instance of an object
@brianmcnett does it still happen with the latest version? it should be fixed in build 352.
Appears to be working correctly now.
On Thu, Dec 25, 2014 at 3:36 AM, Guillaume [email protected] wrote:
@brianmcnett https://github.com/brianmcnett does it still happen with
the latest version? it should be fixed in build 352.—
Reply to this email directly or view it on GitHub
#488 (comment).