Jump to content

[1.9.x] EVA Enhancements Continued


linuxgurugamer

Recommended Posts

19 minutes ago, COL.R.Neville said:

that going nuts and burning up all the mono on eva is a stock ksp thing. eva kerbals have like their own sas now so just hit the f button a time or two and it will quit doing ti. 

Oh, that's interesting.  I wonder if I can get to that?  scratches head, pulls up editor, gets lost for hours

Link to comment
Share on other sites

  • 2 months later...

@linuxgurugamer

I am sorry to ping you again... I am continue debugging my highly modded install and found a exception happening on going EVA that seems to be related to contract configurator in the first place. However, it NullRefs to a module field KerbalProfession, which I've found in the EvaEnhancements binary and also in the module in a save:

Spoiler

                MODULE
                {
                    name = EVAEnhancements
                    isEnabled = True
                    kerbalProfession = Level 2
                    jetPackPower = 1
                    precisionModePower = 0.100000001
                    precisionControls = False
                    stagingEnabled = True
                    EVENTS
                    {
                    }
                    ACTIONS
                    {
                    }
                    UPGRADESAPPLIED
                    {
                    }
                }

However, I didn't found kerbalProfession in the EvaEnhancement source code. Which confuses me.  What I've noticed, that EVAEnhancements still includes Linq, which is suggested to be removed. But maybe it's needed here.

The NullRef:

Spoiler

[LOG 21:52:11.149]     from kerbals
[LOG 21:52:11.149] [KerbalStats] saving ext for Matfurt Kerman
[LOG 21:52:11.150]     from kerbals
[LOG 21:52:11.151] [KerbalStats] saving ext for Edan Kerman
[LOG 21:52:11.152]     from kerbals
[LOG 21:52:11.152] [KerbalStats] saving ext for Duding Kerman
[LOG 21:52:11.153]     from kerbals
[LOG 21:52:11.154] [KSP Interstellar] GameEventSubscriber - detected onGameStateSaved
[LOG 21:52:11.228] S.A.V.E: backup disabled
[LOG 21:52:11.287] Game State Saved as persistent
[LOG 21:52:11.291] QuickStart(QPersistent)[2.12]: OnFlightReady 63d5ee86-dbdb-4a45-aa18-ccdc46024d35
[LOG 21:52:11.292] QuickGoTo(QGUI)[1.32]: OnFlightReady
[LOG 21:52:11.292] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Resizing Internal  Warp Rates Array
[LOG 21:52:11.293] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Resizing Internal  Celestial Body Altitude Limits Arrays
[LOG 21:52:11.294] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Setting Internal Rates and Altitude Limits
[LOG 21:52:11.811] QuickGoTo(QBlizzyToolbar)[1.32]: StartUpdateEach 506557504
[LOG 21:52:13.487] Unpacking Test
[LOG 21:52:13.947] [KSP Interstellar] GameEventSubscriber - detected OnVesselGoOffRails
[ERR 21:52:19.886] Input is null for field 'kerbalProfession' in config node 'MODULE'
   at System.Environment.get_StackTrace()
   at ConfigNode.AddValue(System.String name, System.String value)
   at BaseFieldList.Save(.ConfigNode node)
   at PartModule.Save(.ConfigNode node)
   at ProtoPartModuleSnapshot..ctor(.PartModule module)
   at ProtoPartSnapshot..ctor(.Part PartRef, .ProtoVessel protoVessel)
   at ProtoVessel..ctor(.Vessel VesselRef)
   at ContractConfigurator.Extensions+<GetHashes>d__5.MoveNext()
   at System.Linq.Enumerable.Count(IEnumerable`1 source)
   at ContractConfigurator.ContractVesselTracker.OnVesselWasModified(.Vessel vessel)
   at EventData`1[[Vessel, Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Fire(.Vessel data)
   at Vessel.Initialize(Boolean fromShipAssembly)
   at FlightEVA.onGoForEVA()
   at FlightEVA.spawnEVA(.ProtoCrewMember pCrew, .Part fromPart, UnityEngine.Transform fromAirlock, Boolean tryAllHatches)
   at FlightEVA.SpawnEVA(.Kerbal crew)
   at KSP.UI.Screens.Flight.KerbalPortrait.ClickEVA()
   at UnityEngine.Events.InvokableCall.Invoke(System.Object[] args)
   at UnityEngine.Events.InvokableCallList.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEventBase.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEvent.Invoke()
   at UnityEngine.UI.Button.Press()
   at UnityEngine.UI.Button.OnPointerClick(UnityEngine.EventSystems.PointerEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress(UnityEngine.EventSystems.MouseButtonEventData data)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent(Int32 id)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent()
   at UnityEngine.EventSystems.StandaloneInputModule.Process()
   at UnityEngine.EventSystems.EventSystem.Update()

[ERR 21:52:19.895] Input is null for field 'kerbalProfession' in config node 'MODULE'
   at System.Environment.get_StackTrace()
   at ConfigNode.AddValue(System.String name, System.String value)
   at BaseFieldList.Save(.ConfigNode node)
   at PartModule.Save(.ConfigNode node)
   at ProtoPartModuleSnapshot..ctor(.PartModule module)
   at ProtoPartSnapshot..ctor(.Part PartRef, .ProtoVessel protoVessel)
   at ProtoVessel..ctor(.Vessel VesselRef)
   at Vessel.Initialize(Boolean fromShipAssembly)
   at FlightEVA.onGoForEVA()
   at FlightEVA.spawnEVA(.ProtoCrewMember pCrew, .Part fromPart, UnityEngine.Transform fromAirlock, Boolean tryAllHatches)
   at FlightEVA.SpawnEVA(.Kerbal crew)
   at KSP.UI.Screens.Flight.KerbalPortrait.ClickEVA()
   at UnityEngine.Events.InvokableCall.Invoke(System.Object[] args)
   at UnityEngine.Events.InvokableCallList.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEventBase.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEvent.Invoke()
   at UnityEngine.UI.Button.Press()
   at UnityEngine.UI.Button.OnPointerClick(UnityEngine.EventSystems.PointerEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress(UnityEngine.EventSystems.MouseButtonEventData data)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent(Int32 id)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent()
   at UnityEngine.EventSystems.StandaloneInputModule.Process()
   at UnityEngine.EventSystems.EventSystem.Update()

[LOG 21:52:19.911] [EL Workshop] transfer: Valentina Kerman LETpod2m4k (Part) kerbalEVA (Valentina Kerman) (Part)
[LOG 21:52:19.938] [EL Workshop] Kerbal: Dacella Kerman 0.7140386 0.8482028 False 0(0) -0.2277522 False 0 False False
[LOG 21:52:19.940] [EL Workshop] Kerbal: Genecas Kerman 0.6246873 0.1663402 False 0(0) 0 False 0 False False
[LOG 21:52:19.941] [EL Workshop] Kerbal: Matfurt Kerman 0.04158745 0.2131984 False 0(0) 0 False 0 False False
[LOG 21:52:19.969] StaticInit
 

However, the NRE is not happening when removing EVA Enhancements.

I am a little bit out of ideas here.

Do you have an idea maybe? Is CC nullrefing while EVA-E creates the module, maybe?

EDIT: If you have no idea, thats totally not a problem. Please don't feel forced to debug for my crazy modded install. :)

EDIT2: Found kerbalProfession in the code... don't know why github search didn't found it. Would a non-null initialization maybe prevent the NRE?

Edited by Jebs_SY
Link to comment
Share on other sites

17 hours ago, Jebs_SY said:

@linuxgurugamer

I am sorry to ping you again... I am continue debugging my highly modded install and found a exception happening on going EVA that seems to be related to contract configurator in the first place. However, it NullRefs to a module field KerbalProfession, which I've found in the EvaEnhancements binary and also in the module in a save:

  Reveal hidden contents

                MODULE
                {
                    name = EVAEnhancements
                    isEnabled = True
                    kerbalProfession = Level 2
                    jetPackPower = 1
                    precisionModePower = 0.100000001
                    precisionControls = False
                    stagingEnabled = True
                    EVENTS
                    {
                    }
                    ACTIONS
                    {
                    }
                    UPGRADESAPPLIED
                    {
                    }
                }

However, I didn't found kerbalProfession in the EvaEnhancement source code. Which confuses me.  What I've noticed, that EVAEnhancements still includes Linq, which is suggested to be removed. But maybe it's needed here.

The NullRef:

  Reveal hidden contents

[LOG 21:52:11.149]     from kerbals
[LOG 21:52:11.149] [KerbalStats] saving ext for Matfurt Kerman
[LOG 21:52:11.150]     from kerbals
[LOG 21:52:11.151] [KerbalStats] saving ext for Edan Kerman
[LOG 21:52:11.152]     from kerbals
[LOG 21:52:11.152] [KerbalStats] saving ext for Duding Kerman
[LOG 21:52:11.153]     from kerbals
[LOG 21:52:11.154] [KSP Interstellar] GameEventSubscriber - detected onGameStateSaved
[LOG 21:52:11.228] S.A.V.E: backup disabled
[LOG 21:52:11.287] Game State Saved as persistent
[LOG 21:52:11.291] QuickStart(QPersistent)[2.12]: OnFlightReady 63d5ee86-dbdb-4a45-aa18-ccdc46024d35
[LOG 21:52:11.292] QuickGoTo(QGUI)[1.32]: OnFlightReady
[LOG 21:52:11.292] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Resizing Internal  Warp Rates Array
[LOG 21:52:11.293] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Resizing Internal  Celestial Body Altitude Limits Arrays
[LOG 21:52:11.294] [1/17/2017 9:52:11 PM] [TimeControl(2.50): ]: <Info> (TimeController.UpdateInternalTimeWarpArrays) - Setting Internal Rates and Altitude Limits
[LOG 21:52:11.811] QuickGoTo(QBlizzyToolbar)[1.32]: StartUpdateEach 506557504
[LOG 21:52:13.487] Unpacking Test
[LOG 21:52:13.947] [KSP Interstellar] GameEventSubscriber - detected OnVesselGoOffRails
[ERR 21:52:19.886] Input is null for field 'kerbalProfession' in config node 'MODULE'
   at System.Environment.get_StackTrace()
   at ConfigNode.AddValue(System.String name, System.String value)
   at BaseFieldList.Save(.ConfigNode node)
   at PartModule.Save(.ConfigNode node)
   at ProtoPartModuleSnapshot..ctor(.PartModule module)
   at ProtoPartSnapshot..ctor(.Part PartRef, .ProtoVessel protoVessel)
   at ProtoVessel..ctor(.Vessel VesselRef)
   at ContractConfigurator.Extensions+<GetHashes>d__5.MoveNext()
   at System.Linq.Enumerable.Count(IEnumerable`1 source)
   at ContractConfigurator.ContractVesselTracker.OnVesselWasModified(.Vessel vessel)
   at EventData`1[[Vessel, Assembly-CSharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].Fire(.Vessel data)
   at Vessel.Initialize(Boolean fromShipAssembly)
   at FlightEVA.onGoForEVA()
   at FlightEVA.spawnEVA(.ProtoCrewMember pCrew, .Part fromPart, UnityEngine.Transform fromAirlock, Boolean tryAllHatches)
   at FlightEVA.SpawnEVA(.Kerbal crew)
   at KSP.UI.Screens.Flight.KerbalPortrait.ClickEVA()
   at UnityEngine.Events.InvokableCall.Invoke(System.Object[] args)
   at UnityEngine.Events.InvokableCallList.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEventBase.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEvent.Invoke()
   at UnityEngine.UI.Button.Press()
   at UnityEngine.UI.Button.OnPointerClick(UnityEngine.EventSystems.PointerEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress(UnityEngine.EventSystems.MouseButtonEventData data)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent(Int32 id)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent()
   at UnityEngine.EventSystems.StandaloneInputModule.Process()
   at UnityEngine.EventSystems.EventSystem.Update()

[ERR 21:52:19.895] Input is null for field 'kerbalProfession' in config node 'MODULE'
   at System.Environment.get_StackTrace()
   at ConfigNode.AddValue(System.String name, System.String value)
   at BaseFieldList.Save(.ConfigNode node)
   at PartModule.Save(.ConfigNode node)
   at ProtoPartModuleSnapshot..ctor(.PartModule module)
   at ProtoPartSnapshot..ctor(.Part PartRef, .ProtoVessel protoVessel)
   at ProtoVessel..ctor(.Vessel VesselRef)
   at Vessel.Initialize(Boolean fromShipAssembly)
   at FlightEVA.onGoForEVA()
   at FlightEVA.spawnEVA(.ProtoCrewMember pCrew, .Part fromPart, UnityEngine.Transform fromAirlock, Boolean tryAllHatches)
   at FlightEVA.SpawnEVA(.Kerbal crew)
   at KSP.UI.Screens.Flight.KerbalPortrait.ClickEVA()
   at UnityEngine.Events.InvokableCall.Invoke(System.Object[] args)
   at UnityEngine.Events.InvokableCallList.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEventBase.Invoke(System.Object[] parameters)
   at UnityEngine.Events.UnityEvent.Invoke()
   at UnityEngine.UI.Button.Press()
   at UnityEngine.UI.Button.OnPointerClick(UnityEngine.EventSystems.PointerEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData)
   at UnityEngine.EventSystems.ExecuteEvents.Execute(UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.EventFunction`1 functor)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMousePress(UnityEngine.EventSystems.MouseButtonEventData data)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent(Int32 id)
   at UnityEngine.EventSystems.StandaloneInputModule.ProcessMouseEvent()
   at UnityEngine.EventSystems.StandaloneInputModule.Process()
   at UnityEngine.EventSystems.EventSystem.Update()

[LOG 21:52:19.911] [EL Workshop] transfer: Valentina Kerman LETpod2m4k (Part) kerbalEVA (Valentina Kerman) (Part)
[LOG 21:52:19.938] [EL Workshop] Kerbal: Dacella Kerman 0.7140386 0.8482028 False 0(0) -0.2277522 False 0 False False
[LOG 21:52:19.940] [EL Workshop] Kerbal: Genecas Kerman 0.6246873 0.1663402 False 0(0) 0 False 0 False False
[LOG 21:52:19.941] [EL Workshop] Kerbal: Matfurt Kerman 0.04158745 0.2131984 False 0(0) 0 False 0 False False
[LOG 21:52:19.969] StaticInit
 

However, the NRE is not happening when removing EVA Enhancements.

I am a little bit out of ideas here.

Do you have an idea maybe? Is CC nullrefing while EVA-E creates the module, maybe?

EDIT: If you have no idea, thats totally not a problem. Please don't feel forced to debug for my crazy modded install. :)

EDIT2: Found kerbalProfession in the code... don't know why github search didn't found it. Would a non-null initialization maybe prevent the NRE?

Probably that would work, but I'll take a look at it

Link to comment
Share on other sites

  • 2 weeks later...
38 minutes ago, Sebra said:

Hi!

Is it possible to teach Kerbals to stop own velocity (relative to nearest ship) on level 4?

I think it would be good if they would do so by command or "not in focus".

It probably would be, but that is beyond the scope of this mod.  That essentially involves an autopilot, and is not trivial.

 

Link to comment
Share on other sites

26 minutes ago, linuxgurugamer said:

It probably would be, but that is beyond the scope of this mod.

Thank you for fast answer.

But "Pitch and roll can now be controlled with the keyboard." is not beyond.

I understand "not focused" behaviour is not trivial, but decreasing own speed relative to nearest ship when "B" pressed (and cannot Board) should not be hard.

I ask here because this mod looks like about EVA manoeuvring.

 

Link to comment
Share on other sites

4 minutes ago, Sebra said:

Thank you for fast answer.

But "Pitch and roll can now be controlled with the keyboard." is not beyond.

I understand "not focused" behaviour is not trivial, but decreasing own speed relative to nearest ship when "B" pressed (and cannot Board) should not be hard.

I ask here because this mod looks like about EVA manoeuvring.

 

Yes, but think about what it takes to change your speed relative to an object.  First you need to identify the speed AND direction the kerbal is moving, then you need to reorient the kerbal to point in the right direction, etc.

It's not trivial. 

Link to comment
Share on other sites

Reorient EVA, able to thrust in six directions? Why? No need.

The only problem, I see, is the rotating ship nearby. But even then rotation can be ignored and only centre of mass used. Centre of mass acceleration can also be ignored.

I will not force you ofc. You see it from inside, :wink:

Link to comment
Share on other sites

12 minutes ago, Sebra said:

Reorient EVA, able to thrust in six directions? Why? No need.

The only problem, I see, is the rotating ship nearby. But even then rotation can be ignored and only centre of mass used. Centre of mass acceleration can also be ignored.

I will not force you ofc. You see it from inside, :wink:

Ummm, if you don't reorient, how are you going to adjust your speed?

Link to comment
Share on other sites

Like with RCS. By thrust in three directions. With proper thrust proportions (in strenght or lenght).

I hope my Kerbals are not different than your.

I did not look in mod coding yet, but math should be easy here imho.

It seems you are great in coding. I can help you in math if you want/need.

Link to comment
Share on other sites

  • 2 weeks later...

The new controls are very handy, been doing a bunch of rescue missions lately and this does make it easier.   There is one thing that I think would make EVA even easier to control.  

You can hold right click and move the mouse to rotate the camera, once the camera is facing in the direction you want to travel, press space bar and your kerbal will reorient to that direction, but seemingly restricted to an 2d plane.  If you try to point the camera up or down and use space to reorient it does not work as you would expect.   Is it possible to adjust this behavior?  

Link to comment
Share on other sites

Installed this mod, Game stuck in loading.
Squad/Parts/prebuilt/KerbalEVA/KerbalEVA
I tried it on blank intall (no mods other than this and Module Manager) and it did work. Is there a known incompability?

I'm sorry, This is not the mod causing my problem, I have realized now... I just assumed because of the name of the file it hast stopped on the loading screen and because it was one of the last mods installed.

Edited by Agustin
Link to comment
Share on other sites

17 hours ago, Agustin said:

Installed this mod, Game stuck in loading.
Squad/Parts/prebuilt/KerbalEVA/KerbalEVA
I tried it on blank intall (no mods other than this and Module Manager) and it did work. Is there a known incompability?

I'm sorry, This is not the mod causing my problem, I have realized now... I just assumed because of the name of the file it hast stopped on the loading screen and because it was one of the last mods installed.

Glad you found it.  Next time, post a link to the log file.  It's impossible to do any sort of help without it.  This goes for any mod, not just this one

Link to comment
Share on other sites

I am getting a OperationNotValid exception when leaving the vessel and going to EVA.

Spoiler

170219T003121.156 [INFO] [scatterer.SkyNode.toggleScaledMode] [Scatterer] Sky switched to scaled mode
170219T003121.160 [INFO] [scatterer.FakeOceanPQS.OnSphereActive] 35
170219T003121.161 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: CloudsPQS: (Kerbin-Auroras) OnSphereActive
170219T003121.162 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: Clouds2D is now MACRO
170219T003121.165 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: CloudsPQS: (Kerbin-PolarSnow) OnSphereActive
170219T003122.272 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: CloudsPQS: (Kerbin-CirrusClouds) OnSphereActive
170219T003122.273 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: Clouds2D is now MACRO
170219T003122.275 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: CloudsPQS: (Kerbin-MainClouds) OnSphereActive
170219T003122.276 [INFO] [EVEManager.EVEManagerBase.ILog] [EVE CloudsManager]: Clouds2D is now MACRO
170219T003122.608 [INFO] [scatterer.SkyNode.toggleScaledMode] [Scatterer] Sky switched to local mode
170219T003123.549 [INFO] [scatterer.SkyNode.mapEVEvolumetrics] [Scatterer] Mapping EVE volumetrics for planet: Kerbin
170219T003123.549 [INFO] [scatterer.SkyNode.mapEVEvolumetrics] [Scatterer] Volumetric clouds error on planet: KerbinSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.SkyNode.mapEVEvolumetrics () [0x00000] in <filename unknown>:0 
170219T003123.550 [INFO] [scatterer.SkyNode.mapEVEvolumetrics] [Scatterer] Volumetric clouds error on planet: KerbinSystem.NullReferenceException: Object reference not set to an instance of an object
  at scatterer.SkyNode.mapEVEvolumetrics () [0x00000] in <filename unknown>:0 
170219T003123.551 [INFO] [scatterer.SkyNode.mapEVEvolumetrics] [Scatterer] Detected 2 EVE volumetric layers for planet: Kerbin
170219T003203.554 [INFO] [EVAEnhancementsContinued.Log.Info] onEvaHandler
170219T003203.556 [ERROR] [EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire] Exception handling event onCrewOnEva in class EVAEnhancementsBehaviour:System.InvalidOperationException: Operation is not valid due to the current state of the object
  at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data) [0x00000] in <filename unknown>:0 
  at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data) [0x00000] in <filename unknown>:0 
170219T003203.558 [EXCEPTION] [System.Linq.Enumerable.First[PartResource]] InvalidOperationException: Operation is not valid due to the current state of the object
   at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source)
   at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data)
   at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data)
   at UnityEngine.Debug:LogException(Exception)
   at EventData`1:Fire(FromToAction`2)
   at FlightEVA:onGoForEVA()
   at FlightEVA:spawnEVA(ProtoCrewMember, Part, Transform, Boolean)
   at FlightEVA:SpawnEVA(Kerbal)
   at KSP.UI.Screens.Flight.KerbalPortrait:ClickEVA()
   at UnityEngine.EventSystems.EventSystem:Update()
170219T003203.577 [INFO] [KIS.ModuleKISInventory.OnCrewTransferred] Items transfer | source Mark1-2Pod (0)
170219T003203.579 [INFO] [KIS.ModuleKISInventory.OnCrewTransferred] Items transfer | destination: kerbalEVA (Jebediah Kerman)
170219T003203.609 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] StaticInit
170219T003203.612 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] CMC: True AMC: True COA: False
170219T003203.612 [INFO] [HullcamVDS.MuMechModuleHullCamera.DebugOutput] HullCam: Added, now 1
170219T003203.839 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel Jebediah Kerman ---------------------- 

 

Link to comment
Share on other sites

I think the error may not be related to EVA enhancement, as I removed EVA enhancements and now I am getting a JSI exception when going EVA.

I assume this JSI exception gets through to EVA enhancements.

 

Spoiler

170219T154527.967 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] StaticInit
170219T154527.970 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] CMC: True AMC: True COA: False
170219T154527.971 [INFO] [HullcamVDS.MuMechModuleHullCamera.DebugOutput] HullCam: Added, now 1
170219T154528.120 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel Jebediah Kerman ---------------------- 
170219T154528.124 [INFO] [EasyVesselSwitch.Controller.OnVesselSwitch] Detected switch from ALCOR.LanderCapsule (Vessel) to kerbalEVA (Jebediah Kerman) (Vessel). Request camera stabilization.
170219T154528.125 [INFO] [PlanetariumCamera.SetTarget] [PlanetariumCamera]: Focus: Jebediah Kerman
170219T154528.135 [WARNING] [Part.SpawnIVA] [Part]: kerbalEVA (Jebediah Kerman) holds crew but has no interior model defined!
170219T154528.140 [INFO] [QuickStart.QuickStart.Log] QuickStart(QPersistent)[2.13]: OnVesselChange a3717448-533e-4ed4-8c54-bde30ce3bdd2
170219T154528.141 [INFO] [InfernalRobotics.Command.ServoController.OnVesselChange] IR: [ServoController] vessel kerbalEVA (Jebediah Kerman)
170219T154528.141 [INFO] [InfernalRobotics.Command.ServoController.OnVesselChange] IR: [ServoController] OnVesselChange finished successfully
170219T154528.143 [INFO] [EasyVesselSwitch.Controller.StabilizeCamera] Fix camera focus while keeping its position
170219T154528.144 [INFO] [BetterBurnTime.Logging.Log] [BetterBurnTime] Vessel changed to Jebediah Kerman
170219T154528.145 [INFO] [KerbalAlarmClock.KerbalAlarmClock.UpdateDetails] 2/19/2017 3:45:28 PM,KerbalAlarmClock,Vessel Change from 'Untitled Space Craft' to 'Jebediah Kerman'
170219T154528.201 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 570.645] Somebody tried to load with a null origin
170219T154528.214 [INFO] [Chatterer.chatterer.begin_exchange] [CHATR] Capsule starts the exchange...
170219T154528.218 [INFO] [KerbalAlarmClock.KerbalAlarmClock.CheckForFlightChanges] 2/19/2017 3:45:28 PM,KerbalAlarmClock,Active Vessel changed - resetting inqueue flag
170219T154528.222 [EXCEPTION] [JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext] NullReferenceException: Object reference not set to an instance of an object
   at JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
   at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
170219T154528.223 [EXCEPTION] [JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext] NullReferenceException: Object reference not set to an instance of an object
   at JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
   at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
170219T154528.342 [INFO] [KerbalAlarmClock.KerbalAlarmClock.OnGUIEvery] 2/19/2017 3:45:28 PM,KerbalAlarmClock,Removing DrawGUI from PostRender Queue
170219T154528.370 [INFO] [KerbalAlarmClock.KerbalAlarmClock.OnGUIEvery] 2/19/2017 3:45:28 PM,KerbalAlarmClock,Adding DrawGUI to PostRender Queue
170219T154528.535 [EXCEPTION] [JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext] NullReferenceException: Object reference not set to an instance of an object
   at JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
   at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
170219T154528.570 [EXCEPTION] [JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext] NullReferenceException: Object reference not set to an instance of an object
   at JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
   at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
170219T154528.933 [EXCEPTION] [JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext] NullReferenceException: Object reference not set to an instance of an object
   at JSI.JSIFlashModule+<FlashCoroutine>d__0.MoveNext ()
   at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
170219T154528.964 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 571.408] Somebody tried to load with a null origin
170219T154529.297 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 571.741] Somebody tried to load with a null origin
170219T154529.327 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 571.772] Somebody tried to load with a null origin
170219T154532.473 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 574.917] Somebody tried to load with a null origin
170219T154534.902 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 577.346] Somebody tried to load with a null origin
170219T154538.367 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 580.811] Somebody tried to load with a null origin
170219T154541.495 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 583.939] Somebody tried to load with a null origin
170219T154543.798 [INFO] [SCANsat.SCAN_Data.SCANdata.generateHeightMap] [SCANsat] Height Map Of [Minmus] Completed...
170219T154545.995 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 588.440] Somebody tried to load with a null origin
170219T154550.252 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 592.696] Somebody tried to load with a null origin
170219T154554.539 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 596.983] Somebody tried to load with a null origin
170219T154600.428 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 602.872] Somebody tried to load with a null origin
170219T154602.497 [INFO] [SCANsat.SCAN_Data.SCANdata.generateHeightMap] [SCANsat] Height Map Of [Duna] Completed...
170219T154606.009 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 608.454] Somebody tried to load with a null origin
170219T154610.512 [INFO] [KIS.ModuleKISInventory.OnCrewTransferred] Assign Jebediah Kerman to seat 0 in ALCOR.LanderCapsule
170219T154610.513 [INFO] [KIS.ModuleKISInventory.OnCrewTransferred] Item transfer | source Jebediah Kerman
170219T154610.515 [ERROR] [JSI.JUtil.LogErrorMessage] [RasterPropMonitorComputer]: UpdateLocalCrew() - no internal model!
170219T154610.516 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel Untitled Space Craft ---------------------- 
170219T154610.517 [INFO] [EasyVesselSwitch.Controller.OnVesselSwitch] Detected switch from kerbalEVA (Jebediah Kerman) (Vessel) to ALCOR.LanderCapsule (Vessel). Request camera stabilization.

 

Link to comment
Share on other sites

Hmm, I removed RPM and reinstalled EVAE and I have the exception again.

So this does not seem to be an JSI exception in this case.

So you have any idea where this could come from?

Spoiler

170219T165014.800 [INFO] [ProgressNode.Reach] [Progress Node Reached]: Spacewalk
170219T165014.805 [INFO] [ProgressNode.Complete] [Progress Node Complete]: Spacewalk
170219T165014.809 [INFO] [Reputation.AddReputation] Added -5.292904E-05 (6) reputation: 'Progression'.
170219T165014.818 [INFO] [EVAEnhancementsContinued.Log.Info] onEvaHandler
170219T165014.819 [ERROR] [EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire] Exception handling event onCrewOnEva in class EVAEnhancementsBehaviour:System.InvalidOperationException: Operation is not valid due to the current state of the object
  at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data) [0x00000] in <filename unknown>:0 
  at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data) [0x00000] in <filename unknown>:0 
170219T165014.822 [EXCEPTION] [System.Linq.Enumerable.First[PartResource]] InvalidOperationException: Operation is not valid due to the current state of the object
   at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source)
   at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data)
   at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data)
   at UnityEngine.Debug:LogException(Exception)
   at EventData`1:Fire(FromToAction`2)
   at FlightEVA:onGoForEVA()
   at FlightEVA:spawnEVA(ProtoCrewMember, Part, Transform, Boolean)
   at FlightEVA:SpawnEVA(Kerbal)
   at KSP.UI.Screens.Flight.KerbalPortrait:ClickEVA()
   at UnityEngine.EventSystems.EventSystem:Update()
170219T165014.942 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] StaticInit
170219T165014.945 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] CMC: True AMC: True COA: False
170219T165014.946 [INFO] [HullcamVDS.MuMechModuleHullCamera.DebugOutput] HullCam: Added, now 1
170219T165015.041 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 778.160] Somebody tried to load with a null origin
170219T165015.046 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 778.165] Somebody tried to load with a null origin
170219T165015.080 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel Valentina Kerman ---------------------- 
170219T165015.083 [INFO] [EVAEnhancementsContinued.Log.Info] onVesselSwitching: from: Mk1 Command Pod   to: Valentina Kerman
170219T165015.084 [INFO] [EasyVesselSwitch.Controller.OnVesselSwitch] Detected switch from mk1pod (Vessel) to kerbalEVA (Valentina Kerman) (Vessel). Request camera stabilization.
170219T165015.085 [INFO] [PlanetariumCamera.SetTarget] [PlanetariumCamera]: Focus: Valentina Kerman
170219T165015.101 [WARNING] [Part.SpawnIVA] [Part]: kerbalEVA (Valentina Kerman) holds crew but has no interior model defined!

 

Link to comment
Share on other sites

1 hour ago, Jebs_SY said:

Hmm, I removed RPM and reinstalled EVAE and I have the exception again.

So this does not seem to be an JSI exception in this case.

So you have any idea where this could come from?

  Reveal hidden contents

170219T165014.800 [INFO] [ProgressNode.Reach] [Progress Node Reached]: Spacewalk
170219T165014.805 [INFO] [ProgressNode.Complete] [Progress Node Complete]: Spacewalk
170219T165014.809 [INFO] [Reputation.AddReputation] Added -5.292904E-05 (6) reputation: 'Progression'.
170219T165014.818 [INFO] [EVAEnhancementsContinued.Log.Info] onEvaHandler
170219T165014.819 [ERROR] [EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire] Exception handling event onCrewOnEva in class EVAEnhancementsBehaviour:System.InvalidOperationException: Operation is not valid due to the current state of the object
  at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data) [0x00000] in <filename unknown>:0 
  at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data) [0x00000] in <filename unknown>:0 
170219T165014.822 [EXCEPTION] [System.Linq.Enumerable.First[PartResource]] InvalidOperationException: Operation is not valid due to the current state of the object
   at System.Linq.Enumerable.First[PartResource] (IEnumerable`1 source)
   at EVAEnhancementsContinued.EVAEnhancementsBehaviour.onEvaHandler (FromToAction`2 data)
   at EventData`1[GameEvents+FromToAction`2[Part,Part]].Fire (FromToAction`2 data)
   at UnityEngine.Debug:LogException(Exception)
   at EventData`1:Fire(FromToAction`2)
   at FlightEVA:onGoForEVA()
   at FlightEVA:spawnEVA(ProtoCrewMember, Part, Transform, Boolean)
   at FlightEVA:SpawnEVA(Kerbal)
   at KSP.UI.Screens.Flight.KerbalPortrait:ClickEVA()
   at UnityEngine.EventSystems.EventSystem:Update()
170219T165014.942 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] StaticInit
170219T165014.945 [INFO] [HullcamVDS.MuMechModuleHullCamera.StaticInit] CMC: True AMC: True COA: False
170219T165014.946 [INFO] [HullcamVDS.MuMechModuleHullCamera.DebugOutput] HullCam: Added, now 1
170219T165015.041 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 778.160] Somebody tried to load with a null origin
170219T165015.046 [INFO] [Astrogator.DebugTools.DbgFmt] [Astrogator 778.165] Somebody tried to load with a null origin
170219T165015.080 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel Valentina Kerman ---------------------- 
170219T165015.083 [INFO] [EVAEnhancementsContinued.Log.Info] onVesselSwitching: from: Mk1 Command Pod   to: Valentina Kerman
170219T165015.084 [INFO] [EasyVesselSwitch.Controller.OnVesselSwitch] Detected switch from mk1pod (Vessel) to kerbalEVA (Valentina Kerman) (Vessel). Request camera stabilization.
170219T165015.085 [INFO] [PlanetariumCamera.SetTarget] [PlanetariumCamera]: Focus: Valentina Kerman
170219T165015.101 [WARNING] [Part.SpawnIVA] [Part]: kerbalEVA (Valentina Kerman) holds crew but has no interior model defined!

 

Yes, bug fix forthcoming

New release, 0.1.5:

  • Fixed nullref in the onCrewOnEva when resource didn't exist
     
Link to comment
Share on other sites

Thx for the fix! :)
I still got a small NRE once, as I was switching to my Scansat, which has no crew, if you are interested:

170220T015750.583 [EXCEPTION] [EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update] NullReferenceException: Object reference not set to an instance of an object
at EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update ()

I used HayStack sometimes to switch ships.

Didn't seem related on the following NREs, cause the following NREs also occur without EVAE.

Spoiler

170220T015747.589 [WARNING] [KerbalKonstructs.Core.Log.Warning] KK: StaticDatabase.updateCache(): vPlayerPos is still v3.zero 
170220T015747.792 [WARNING] [KerbalKonstructs.Core.Log.Warning] KK: StaticDatabase.updateCache(): vPlayerPos is still v3.zero 
170220T015748.418 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel ScanSat 0.2 - Kerbin ---------------------- 
170220T015748.423 [INFO] [FlightState..ctor] Flight State Captured
170220T015748.438 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.439 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.440 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.442 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.443 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.455 [INFO] [QuickStart.QuickStart.Log] QuickStart(QPersistent)[2.13]: OnSave a5a79e55-e965-44db-8c9b-82b1c329e2d9
170220T015748.457 [INFO] [DF.DeepFreeze.OnSave] DeepFreeze Scenario OnSave completed.
170220T015750.245 [INFO] [KSP.UI.Screens.MessageSystem.SaveMessages] [MessageSystem] Save Messages
170220T015750.307 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.309 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,Game scene load requested: FLIGHT
170220T015750.310 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.311 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.312 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.314 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.315 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.316 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.318 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.369 [INFO] [KSP.UI.UIMasterController.HideUI] [UIMasterController]: HideUI
170220T015750.372 [INFO] [FNPlugin.GameEventSubscriber.OnSetSpeedModeChange] [KSP Interstellar] GameEventSubscriber - detected OnSetSpeedModeChange
170220T015750.403 [INFO] [QuickStart.QuickStart.Log] QuickStart(QPersistent)[2.13]: OnDestroy
170220T015750.404 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,OnDestroy
170220T015750.406 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreeze Child Destroy for ScenarioLogic
170220T015750.407 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreeze Child Destroy for ScenarioLogic
170220T015750.408 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreezeEvents DeepFreezeEventRem
170220T015750.409 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreezeEvents DeepFreezeEventRem ended
170220T015750.547 [INFO] [HighLogic.LoadScene] [HighLogic]: =========================== Scene Change : From FLIGHT to FLIGHT =====================
170220T015750.579 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.582 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.583 [EXCEPTION] [EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update] NullReferenceException: Object reference not set to an instance of an object
   at EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update ()
170220T015750.584 [EXCEPTION] [ModuleOrbitalSurveyor.CheckForScanData] NullReferenceException: Object reference not set to an instance of an object
   at ModuleOrbitalSurveyor.CheckForScanData ()
   at ModuleOrbitalSurveyor.Update ()
170220T015750.585 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.586 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.586 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.587 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.588 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.589 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.590 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.591 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.592 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.593 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.595 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.596 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.596 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.597 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.598 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.599 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.599 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.600 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015751.353 [INFO] [KerbalEngineer.MyLogger.Flush] KerbalEngineer -> SimManager.StartSimulation() // Object reference not set to an instance of an object
170220T015751.354 [INFO] [KerbalEngineer.MyLogger.Flush] KerbalEngineer ->   at KSP.UI.Screens.StageManager.get_LastStage () [0x00000] in <filename unknown>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1 parts, Double theGravity, Double theAtmosphere, Double theMach, Boolean dumpTree, Boolean vectoredThrust, Boolean fullThrust) [0x00000] in <filename unknown>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x00000] in <filename unknown>:0 
170220T015752.602 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Kerbin - ComSat 0.1 - C
170220T015752.603 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=qwerty
170220T015752.604 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Minmus Poles
170220T015752.605 [INFO] [Trajectories.MapOverlay.DetachCamera] Trajectories: detaching camera listener
170220T015752.606 [INFO] [KSP.UI.Screens.UIApp.OnDestroy] [UIApp] OnDestroy: ResourceDisplay
170220T015752.607 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015752.608 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Ast. JGU-060
170220T015752.609 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Minmus Lesser Flats
170220T015752.609 [INFO] [KSP.UI.Screens.KbApp.OnDestroy] KbApp.OnDestroy Vessel Crew
170220T015752.612 [INFO] [KerbalEngineer.Flight.FlightEngineerCore.OnDestroy] [FlightEngineer]: Destroying Floating Window for HUD 1
170220T015752.612 [INFO] [KerbalEngineer.Flight.FlightEngineerCore.OnDestroy] [FlightEngineer]: Destroying Floating Window for HUD 2
170220T015752.613 [INFO] [TransferWindowPlanner.TransferWindowPlanner.OnDestroy] 2/20/2017 1:57:52 AM,TransferWindowPlanner,Destroying the TransferWindowPlanner (TWP)
170220T015752.614 [INFO] [TransferWindowPlanner.TransferWindowPlanner.DestroyToolbarButton] 2/20/2017 1:57:52 AM,TransferWindowPlanner,Destroying Toolbar Button
170220T015752.615 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Ast. CNP-157
170220T015752.617 [INFO] [scatterer.SkyNode.saveToConfigNode] [Scatterer] saving Kerbin atmo config to: scatterer/config/Planets/Kerbin/atmo
170220T015752.619 [INFO] [scatterer.Core.saveSettings] [Scatterer] Saving settings to: scatterer/config/config.cfg
170220T015752.620 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=ScanSat 0.2 - Kerbin - Reserve
170220T015752.621 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=MunSat Poles Lander
170220T015752.621 [INFO] [KSP.UI.Screens.KbApp.OnDestroy] KbApp.OnDestroy NullName

 

Edited by Jebs_SY
Link to comment
Share on other sites

12 hours ago, Jebs_SY said:

Thx for the fix! :)
I still got a small NRE once, as I was switching to my Scansat, which has no crew, if you are interested:

170220T015750.583 [EXCEPTION] [EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update] NullReferenceException: Object reference not set to an instance of an object
at EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update ()

I used HayStack sometimes to switch ships.

Didn't seem related on the following NREs, cause the following NREs also occur without EVAE.

  Reveal hidden contents

170220T015747.589 [WARNING] [KerbalKonstructs.Core.Log.Warning] KK: StaticDatabase.updateCache(): vPlayerPos is still v3.zero 
170220T015747.792 [WARNING] [KerbalKonstructs.Core.Log.Warning] KK: StaticDatabase.updateCache(): vPlayerPos is still v3.zero 
170220T015748.418 [INFO] [FlightGlobals.setActiveVessel] [FLIGHT GLOBALS]: Switching To Vessel ScanSat 0.2 - Kerbin ---------------------- 
170220T015748.423 [INFO] [FlightState..ctor] Flight State Captured
170220T015748.438 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.439 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.440 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.442 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.443 [INFO] [ProgressTree.Save] Saving Achievements Tree...
170220T015748.455 [INFO] [QuickStart.QuickStart.Log] QuickStart(QPersistent)[2.13]: OnSave a5a79e55-e965-44db-8c9b-82b1c329e2d9
170220T015748.457 [INFO] [DF.DeepFreeze.OnSave] DeepFreeze Scenario OnSave completed.
170220T015750.245 [INFO] [KSP.UI.Screens.MessageSystem.SaveMessages] [MessageSystem] Save Messages
170220T015750.307 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.309 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,Game scene load requested: FLIGHT
170220T015750.310 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.311 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.312 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.314 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.315 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.316 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.318 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.369 [INFO] [KSP.UI.UIMasterController.HideUI] [UIMasterController]: HideUI
170220T015750.372 [INFO] [FNPlugin.GameEventSubscriber.OnSetSpeedModeChange] [KSP Interstellar] GameEventSubscriber - detected OnSetSpeedModeChange
170220T015750.403 [INFO] [QuickStart.QuickStart.Log] QuickStart(QPersistent)[2.13]: OnDestroy
170220T015750.404 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,OnDestroy
170220T015750.406 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreeze Child Destroy for ScenarioLogic
170220T015750.407 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreeze Child Destroy for ScenarioLogic
170220T015750.408 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreezeEvents DeepFreezeEventRem
170220T015750.409 [INFO] [RSTUtils.Utilities.Log] 2/20/2017 1:57:50 AM,DeepFreeze,DeepFreezeEvents DeepFreezeEventRem ended
170220T015750.547 [INFO] [HighLogic.LoadScene] [HighLogic]: =========================== Scene Change : From FLIGHT to FLIGHT =====================
170220T015750.579 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.582 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015750.583 [EXCEPTION] [EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update] NullReferenceException: Object reference not set to an instance of an object
   at EVAEnhancementsContinued.EVAEnhancementsBehaviour.Update ()
170220T015750.584 [EXCEPTION] [ModuleOrbitalSurveyor.CheckForScanData] NullReferenceException: Object reference not set to an instance of an object
   at ModuleOrbitalSurveyor.CheckForScanData ()
   at ModuleOrbitalSurveyor.Update ()
170220T015750.585 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.586 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.586 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.587 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.588 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.589 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.590 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.591 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.592 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.593 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.595 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.596 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.596 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.597 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.598 [EXCEPTION] [ModuleResourceScanner.DisplayAbundance] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.DisplayAbundance ()
   at ModuleResourceScanner.CheckAbundanceDisplay ()
   at ModuleResourceScanner.Update ()
170220T015750.599 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.599 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015750.600 [EXCEPTION] [ModuleResourceScanner.Update] NullReferenceException: Object reference not set to an instance of an object
   at ModuleResourceScanner.Update ()
170220T015751.353 [INFO] [KerbalEngineer.MyLogger.Flush] KerbalEngineer -> SimManager.StartSimulation() // Object reference not set to an instance of an object
170220T015751.354 [INFO] [KerbalEngineer.MyLogger.Flush] KerbalEngineer ->   at KSP.UI.Screens.StageManager.get_LastStage () [0x00000] in <filename unknown>:0 
  at KerbalEngineer.VesselSimulator.Simulation.PrepareSimulation (KerbalEngineer.LogMsg _log, System.Collections.Generic.List`1 parts, Double theGravity, Double theAtmosphere, Double theMach, Boolean dumpTree, Boolean vectoredThrust, Boolean fullThrust) [0x00000] in <filename unknown>:0 
  at KerbalEngineer.VesselSimulator.SimManager.StartSimulation () [0x00000] in <filename unknown>:0 
170220T015752.602 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Kerbin - ComSat 0.1 - C
170220T015752.603 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=qwerty
170220T015752.604 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Minmus Poles
170220T015752.605 [INFO] [Trajectories.MapOverlay.DetachCamera] Trajectories: detaching camera listener
170220T015752.606 [INFO] [KSP.UI.Screens.UIApp.OnDestroy] [UIApp] OnDestroy: ResourceDisplay
170220T015752.607 [INFO] [KSP.UI.Screens.ApplicationLauncher.ScaleModList] ScaleModList: listSize 533 maxListSize 716
170220T015752.608 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Ast. JGU-060
170220T015752.609 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Minmus Lesser Flats
170220T015752.609 [INFO] [KSP.UI.Screens.KbApp.OnDestroy] KbApp.OnDestroy Vessel Crew
170220T015752.612 [INFO] [KerbalEngineer.Flight.FlightEngineerCore.OnDestroy] [FlightEngineer]: Destroying Floating Window for HUD 1
170220T015752.612 [INFO] [KerbalEngineer.Flight.FlightEngineerCore.OnDestroy] [FlightEngineer]: Destroying Floating Window for HUD 2
170220T015752.613 [INFO] [TransferWindowPlanner.TransferWindowPlanner.OnDestroy] 2/20/2017 1:57:52 AM,TransferWindowPlanner,Destroying the TransferWindowPlanner (TWP)
170220T015752.614 [INFO] [TransferWindowPlanner.TransferWindowPlanner.DestroyToolbarButton] 2/20/2017 1:57:52 AM,TransferWindowPlanner,Destroying Toolbar Button
170220T015752.615 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=Ast. CNP-157
170220T015752.617 [INFO] [scatterer.SkyNode.saveToConfigNode] [Scatterer] saving Kerbin atmo config to: scatterer/config/Planets/Kerbin/atmo
170220T015752.619 [INFO] [scatterer.Core.saveSettings] [Scatterer] Saving settings to: scatterer/config/config.cfg
170220T015752.620 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=ScanSat 0.2 - Kerbin - Reserve
170220T015752.621 [INFO] [InfernalRobotics.Command.ServoController.OnVesselUnloaded] IR: [ServoController] OnVesselUnloaded, v=MunSat Poles Lander
170220T015752.621 [INFO] [KSP.UI.Screens.KbApp.OnDestroy] KbApp.OnDestroy NullName

 

When you switch to the scansat, is there a NavBall visible?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...