TransferWindowPlanner icon indicating copy to clipboard operation
TransferWindowPlanner copied to clipboard

NRE when changing planet in the drop down menu.

Open Galenmacil opened this issue 6 years ago • 1 comments

Whenever a new planet is selected, this happens:

_[EXC 18:41:33.852] NullReferenceException: Object reference not set to an instance of an object TransferWindowPlanner.TWPWindow.HideAngles () TransferWindowPlanner.TWPWindow.ddlDestination_OnSelectionChanged (KSPPluginFramework.DropDownList sender, Int32 OldIndex, Int32 NewIndex) KSPPluginFramework.MonoBehaviourWindowPlus+DropDownList.DrawBlockingSelector () KSPPluginFramework.MonoBehaviourWindowPlus+DropDownListManager.DrawBlockingSelectors () KSPPluginFramework.MonoBehaviourWindowPlus.DrawWindowPre (Int32 id) KSPPluginFramework.MonoBehaviourWindow.DrawWindowInternal (Int32 id) UnityEngine.GUILayout+LayoutedWindow.DoWindow (Int32 windowID) UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, Int32 instanceID, UnityEngine.GUISkin skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) [LOG 18:41:39.487] 6/12/2019 6:41:39 PM,TransferWindowPlanner,Generating DeltaV Values [LOG 18:41:39.751] 6/12/2019 6:41:39 PM,TransferWindowPlanner,Working out Log Values to determine DeltaV->Color Mapping [LOG 18:41:39.753] 6/12/2019 6:41:39 PM,TransferWindowPlanner,Generating DeltaV Color Palette [LOG 18:41:39.753] 6/12/2019 6:41:39 PM,TransferWindowPlanner,Placing ColorIndexes in array [LOG 18:41:39.756] 6/12/2019 6:41:39 PM,TransferWindowPlanner,5.7695243002966 [LOG 18:41:39.756] 6/12/2019 6:41:39 PM,TransferWindowPlanner,ERROR: Background Worker Failed Object reference not set to an instance of an object at TransferWindowPlanner.TWPWindow.SetTransferDetails () [0x00000] in :0 at TransferWindowPlanner.TWPWindow.bw_GeneratePorkchop (System.Object sender, System.ComponentModel.DoWorkEventArgs e) [0x00000] in :0 [LOG 18:41:39.818] 6/12/2019 6:41:39 PM,TransferWindowPlanner,Placing Colors on texture-292x292

KSP.log

Galenmacil avatar Jun 12 '19 22:06 Galenmacil

Ive been unable to repro this one or see where it could be dgoing wrong in the logged methods, if you can give me some more detail on the steps, or specific planets your changing from to I could have a look

TriggerAu avatar Aug 25 '19 06:08 TriggerAu