Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NRE when changing planet in the drop down menu. #56

Open
Galenmacil opened this issue Jun 12, 2019 · 1 comment
Open

NRE when changing planet in the drop down menu. #56

Galenmacil opened this issue Jun 12, 2019 · 1 comment

Comments

@Galenmacil
Copy link

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

@TriggerAu
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants