WildBlueTools
WildBlueTools copied to clipboard
Broken "test test test" ferry contract
I got a contract to ferry a kerbal to a station, only it lacks any information beyond "test test test". Selecting the contract throws a NRE.
[EXC 17:59:42.890] NullReferenceException: Object reference not set to an instance of an object
ContractsPlus.Contracts.WBIContractVesselTour.GetDescription ()
Contracts.Contract.get_Description ()
Contracts.Contract.MissionControlTextRich ()
KSP.UI.Screens.MissionControl.UpdateInfoPanelContract (Contracts.Contract contract)
KSP.UI.Screens.MissionControl.OnSelectContract (KSP.UI.UIRadioButton button, CallType callType, UnityEngine.EventSystems.PointerEventData data)
UnityEngine.Events.InvokableCall`3[KSP.UI.UIRadioButton,KSP.UI.UIRadioButton+CallType,UnityEngine.EventSystems.PointerEventData].Invoke (KSP.UI.UIRadioButton args0, CallType args1, UnityEngine.EventSystems.PointerEventData args2)
UnityEngine.Events.UnityEvent`3[KSP.UI.UIRadioButton,KSP.UI.UIRadioButton+CallType,UnityEngine.EventSystems.PointerEventData].Invoke (KSP.UI.UIRadioButton arg0, CallType arg1, UnityEngine.EventSystems.PointerEventData arg2)
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()
![image](https://user-images.githubusercontent.com/3837797/41804169-aaf0bc2e-7646-11e8-8cb3-6c40925cd974.png)
the contract node from the save file:
CONTRACT
{
guid = e05403fc-9c7d-4664-9890-c5fc51c1f33e
type = WBIContractVesselTour
prestige = 0
seed = 2125115476
state = Offered
viewed = Seen
agent = Ionic Symphonic Protonic Electronics
deadlineType = Floating
expiryType = Floating
values = 86400,92016000,15000,36000,18000,0,6,20,11090525.8676575,0,0,0
contractID = d3a5b119-f1ec-48b6-bb80-be3dfe3c97bc
versionNumber = 1
targetBody = 1
totalTourists = 1
vesselName = KOS 1
totalDays = 16
TOURIST
{
name = Leewise Kerman
}
PARAM
{
name = SpecificVesselParameter
state = Incomplete
values = 0,0,0,0,0
TargetBody = 1
targetVesselID = db08137c60d74f1b96c32191c3682171
targetVesselPartCount = 93
targetVesselName = KOS 1
targetVesselSituation = ORBITING
partIDs = 4022881841|496294105|2680858934|1050985907|713362757|2386871270|1092169718|1247831751|1108473229|1403992826|809866262|2831779363|1918867098|607380571|2825361555|389465737|1832512285|632662825|356159511|2356669735|394399126|656910791|3092737690|3647202728|261551748|3533503685|4100071660|899491169|2492209133|317312157|3410545963|3192347941|2721959124|105506099|3893380346|2736555806|2335104011|3440167562|88914707|2943486994|4186839430|2273558558|3479579310|3482682749|1447115594|4171514214|1865180578|2084822937|2587883869|2507551700|81643381|2014651627|631736141|2590388128|941269516|2656074202|1489522249|2746888391|23063983|651105962|1400950858|3234464194|2639619051|1355138818|3339290523|1975936895|2603507514|1700307946|1475467674|3477760594|2863049576|3971385617|4127250|616164185|8329569|1908453630|3954892606|2358750085|1772992124|4003827292|2784598930|3883465733|3318682857|2202430470|2080555566|900454153|3672835824|507015474|338284215|3281219544|3072881962|1504681283|1676992159
}
PARAM
{
name = WBIKerbalStayParam
state = Incomplete
values = 16000,0,0,0,0
vesselName = KOS 1
kerbalName = Leewise Kerman
totalStayTime = 345600
timeRemaining = 345600
lastUpdate = 11004125.867657481
isAtLocation = False
PARAM
{
name = WBIFerryKerbalParam
state = Incomplete
values = 5000,0,0,0,0
vesselName = KOS 1
kerbalName = Leewise Kerman
}
PARAM
{
name = WBIReturnKerbalHome
state = Incomplete
values = 0,0,0,0,0
isCompleted = False
titleText = Bring her home
kerbalName = Leewise Kerman
}
}
}
Hm, this is really odd. I don't see "test test test" in my code, so not sure where that's coming from. I'll keep looking though to see what else could be creating the NRE.