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

Pressing the IR button in the editor without any robotic part attached cause an NRE #117

Open
Galenmacil opened this issue Jun 7, 2016 · 3 comments

Comments

@Galenmacil
Copy link

Step to reproduce:

1 - Start a new career game.
2 - Go to VAB.
3- Click on the IR icon on the toolbar.

@ZiwKerman
Copy link
Contributor

I need more info than this. Ideally the log or at least list of other mods.

@Galenmacil
Copy link
Author

Galenmacil commented Jun 8, 2016

Sorry about the lack of information. Here it is:

Windows 10 64 bit
KSP 1.1.2 (32 bit or 64 bit)
Mod installed: Module Manager 2.6.25, Infernal Robotics 2.0.2, Exception Detector

Log excerpt:

[EXC 17:40:26.051] NullReferenceException: Object reference not set to an instance of an object
InfernalRobotics.Gui.WindowManager.ShowIRWindow ()
KSP.UI.Screens.ApplicationLauncherButton.OnTrue (UnityEngine.EventSystems.PointerEventData data, CallType callType)
UnityEngine.Events.InvokableCall2[UnityEngine.EventSystems.PointerEventData,KSP.UI.UIRadioButton+CallType].Invoke (System.Object[] args) UnityEngine.Events.InvokableCallList.Invoke (System.Object[] parameters) UnityEngine.Events.UnityEventBase.Invoke (System.Object[] parameters) UnityEngine.Events.UnityEvent2[UnityEngine.EventSystems.PointerEventData,KSP.UI.UIRadioButton+CallType].Invoke (UnityEngine.EventSystems.PointerEventData arg0, CallType arg1)
KSP.UI.UIRadioButton.SetState (State state, CallType callType, UnityEngine.EventSystems.PointerEventData data, Boolean popButtonsInGroup)
KSP.UI.UIRadioButton.ToggleState (CallType callType, UnityEngine.EventSystems.PointerEventData data)
KSP.UI.UIRadioButton.UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData)
UnityEngine.EventSystems.ExecuteEvents.Execute (IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData)
UnityEngine.EventSystems.ExecuteEvents.Execute[IPointerClickHandler](UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor)
UnityEngine.EventSystems.EventSystem:Update()

Procedure:

1 - Start a new career.
2 - Go to VAB.
3 - Press the Infernal Robotics button in the Stock Toolbar
4 - NRE will be generated.

KSP log.txt

@Galenmacil
Copy link
Author

This is still present in IR 2.0.4.

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

No branches or pull requests

2 participants