![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
![](https://forum.kerbalspaceprogram.com/uploads/set_resources_17/84c1e40ea0e759e3f1505eb1788ddf3c_default_photo.png)
OvermindDL1
Members-
Posts
24 -
Joined
-
Last visited
Reputation
0 NeutralProfile Information
-
About me
Bottle Rocketeer
-
[1.10.1+] Contract Configurator [v1.30.5] [2020-10-05]
OvermindDL1 replied to nightingale's topic in KSP1 Mod Releases
Pretty much all of them, but these are null pointer exceptions so they are missing checks that should always be there anyway. :-) Full stacktraces: [FONT=monospace][COLOR=#000000][EXC 17:37:16.805] ArgumentException: 'Space Exploration & Technology Initiative' is not a valid agent.[/COLOR] ContractConfigurator.ConfigNodeUtil.[COLOR=#ffffff]ParseAgentValue[/COLOR][COLOR=#000000] (System.String name)[/COLOR] ContractConfigurator.ConfigNodeUtil.ParseSingleValue[Agent] (System.String key, System.String stringValue, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[Agent] (.ConfigNode configNode, System.String key, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[Agent] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, Contracts.Agents.Agent defaultValue, System.Func`2 validation) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Agent, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Agent) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() [/FONT] [FONT=monospace][COLOR=#000000][EXC 17:37:16.472] NotSupportedException: Unsupported type: KRPCSpaceCenter.Services.Vessel[/COLOR] ContractConfigurator.ExpressionParser.BaseParser.[COLOR=#ffffff]GetParser[/COLOR][COLOR=#000000][Vessel] (ContractConfigurator.ExpressionParser.BaseParser orig)[/COLOR] System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ExpressionParser.BaseParser.[COLOR=#ffffff]GetParser[/COLOR][COLOR=#000000] (System.Type type)[/COLOR] ContractConfigurator.ExpressionParser.ExpressionParser`1[ContractConfigurator.VesselIdentifier].ParseStatement[VesselIdentifier] () Rethrow as Exception: Error parsing statement. Error occurred near '*': @/targetVessel * <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParse r.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue[VesselIdentifier] (System.String key, System.String stringValue, Boolean allowExpression) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ConfigNodeUtil.ParseValue [List`1] (.ConfigNode configNode, System.String key, Boolean allowExpression) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, List`1, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, List`1) ContractConfigurator.VesselParameterGroupFactory:Load(ConfigNode) ContractConfigurator.ParameterFactory:GenerateParameterFactory(ConfigNode, ContractType, ParameterFactory&, ParameterFactory) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() ContractConfigurator.ContractConfigurator:Update() [/FONT] [FONT=monospace][COLOR=#000000][EXC 17:37:14.608] NotSupportedException: Unsupported type: KRPCSpaceCenter.Services.CelestialBody[/COLOR] ContractConfigurator.ExpressionParser.BaseParser.[COLOR=#ffffff]GetParser[Celes[/COLOR][COLOR=#000000]tialBody] (ContractConfigurator.ExpressionParser.BaseParser orig)[/COLOR] System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ExpressionParser.BaseParser.GetParser (System.Type type) ContractConfigurator.ExpressionParser.ExpressionParser`1[CelestialBody].ParseStatement[CelestialBody] () Rethrow as Exception: Error parsing statement. Error occurred near '*': @/targetBody1 * <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue[CelestialBody] (System.String key, System.String stringValue, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[CelestialBody] (.ConfigNode configNode, System.String key, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[CelestialBody] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactoryobj, .CelestialBody defaultValue, System.Func`2 validation) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, CelestialBody, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, Func`2) ContractConfigurator.DeferredLoadUtil:ExecuteLoad(DeferredLoadObject`1) System.Reflection.MethodBase:Invoke(Object, Object[]) ContractConfigurator.ConfigNodeUtil:ExecuteDeferredLoads() ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() ContractConfigurator.ContractConfigurator:Update() [/FONT] [FONT=monospace][COLOR=#000000][EXC 17:37:14.272] NotSupportedException: Unsupported type: System.Collections.Generic.List`1[KRPCSpaceCenter.Services.CelestialBody][/COLOR] ContractConfigurator.ExpressionParser.BaseParser.[COLOR=#ffffff]GetParser [List[/COLOR][COLOR=#000000]`1] (ContractConfigurator.ExpressionParser.BaseParser orig)[/COLOR] System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ExpressionParser.BaseParser.GetParser (System.Type type) ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[CelestialBody]].ParseStatement [List`1] () Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ExpressionParser.ExpressionParser`1[T].GetCalledFunction (System.String functionName, Function& selectedMethod, Boolean isFunction) Rethrow as Exception: Error parsing statement. Error occurred near '*': AllScienceSubjectsByBody(@validBodies).Where(s => s.CollectedScience() > s.RemainingScience() && s.NextScienceReportValue() > 1.0 && !s.Biome().IsKSC()).Random() .........................* <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue[ScienceSubject] (System.String key, System.String stringValue, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[ScienceSubject] (.ConfigNode configNode, System.String key, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue[ScienceSubject] (.ConfigNode configNode, System.String key, System.Action`1 setter, IContractConfiguratorFactory obj, .ScienceSubject defaultValue, System.Func`2 validation) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, ScienceSubject, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory) System.Reflection.MethodBase:Invoke(Object, Object[]) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() ContractConfigurator.ContractConfigurator:Update() [/FONT] [FONT=monospace][COLOR=#000000][EXC 17:37:15.831] NullReferenceException: Object reference not set to an instance of an object[/COLOR] ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[AvailablePart]].[COLOR=#ffffff]ParseSimpleStatement [List[/COLOR][COLOR=#000000]`1] ()[/COLOR] Rethrow as Exception: Error parsing statement. Error occurred near '*': * <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[System.Collections.Generic.List`1[AvailablePart]].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue [List`1] (System.String key, System.String stringValue, Boolean allowExpression) ContractConfigurator.ConfigNodeUtil.ParseValue [List`1] (.ConfigNode configNode, System.String key, Boolean allowExpression) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Boolean) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, List`1, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory) ContractConfigurator.PartUnlockedRequirement:Load(ConfigNode) ContractConfigurator.ContractRequirement:GenerateRequirement(ConfigNode, ContractType, ContractRequirement&, IContractConfiguratorFactory) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() ContractConfigurator.ContractConfigurator:Update() [/FONT] [FONT=monospace][COLOR=#000000][EXC 17:37:15.832] NullReferenceException: Object reference not set to an instance of an object[/COLOR] ContractConfigurator.ExpressionParser.ExpressionParser`1[AvailablePart].[COLOR=#ffffff]ParseSimpleStatement[Avail[/COLOR][COLOR=#000000]ablePart] ()[/COLOR] Rethrow as Exception: Error parsing statement. Error occurred near '*': * <-- HERE ContractConfigurator.ExpressionParser.ExpressionParser`1[T].ParseExpression (System.String key, System.String expression, ContractConfigurator.ExpressionParser.DataNode dataNode) ContractConfigurator.ConfigNodeUtil.ParseSingleValue[AvailablePart] (System.String key, System.String stringValue, Boolean allowExpression) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) ContractConfigurator.ConfigNodeUtil.ParseValue [List`1] (.ConfigNode configNode, System.String key, Boolean allowExpression) UnityEngine.Debug:LogException(Exception) ContractConfigurator.LoggingUtil:LogException(Exception) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory, List`1, Func`2) ContractConfigurator.ConfigNodeUtil:ParseValue(ConfigNode, String, Action`1, IContractConfiguratorFactory) ContractConfigurator.PartUnlockedRequirement:Load(ConfigNode) ContractConfigurator.ContractRequirement:GenerateRequirement(ConfigNode, ContractType, ContractRequirement&, IContractConfiguratorFactory) ContractConfigurator.ContractType:Load(ConfigNode) ContractConfigurator.<LoadContractConfig>d__14:MoveNext() ContractConfigurator.ContractConfigurator:Update() [/FONT] That should be good to get you to the precise areas where null pointers are not checked for first where they should be, but if you need the full log then: http://overminddl1.com/Kerbal/KSP.log.201506101832.tar.gz EDIT: Why does this forum software keep adding in empty [code] blocks?! o.O- 5,220 replies
-
It is just a normal null pointer exception, easy to fix in code by checking if it is null first :-), full stacktrace: [FONT=monospace][COLOR=#000000][EXC 18:15:56.598] NullReferenceException: Object reference not set to an instance of an object[/COLOR] RCSLandAid.RCSLandingAid.[COLOR=#ffffff]LeftClick[/COLOR][COLOR=#000000] ()[/COLOR] RCSLandAid.RCSLandingAid.<Start>b__0 (RCSLandAid.ClickEvent e) RCSLandAid.Button.clicked (System.Object realEvent) Toolbar.Command.click () UnityEngine.Debug:LogException(Exception) Toolbar.Log:log(LogLevel, Exception, String, Object[]) Toolbar.Log:error(Exception, String, Object[]) Toolbar.Command:click() Toolbar.Button:click() Toolbar.Button:drawInToolbar(Rect, Boolean) Toolbar.Toolbar:drawButtons() Toolbar.Toolbar:draw() Toolbar.ToolbarManager:OnGUI() [/FONT]
-
[1.1.2] Kerbal Inventory System (KIS) 1.2.12
OvermindDL1 replied to KospY's topic in KSP1 Mod Releases
Full exception is: [FONT=monospace][COLOR=#000000][EXC 17:46:41.119] NullReferenceException: Object reference not set to an instance of an object[/COLOR] KIS.ModuleKISInventory.[COLOR=#ffffff]UpdateKey[/COLOR][COLOR=#000000] ()[/COLOR] KIS.ModuleKISInventory.Update () The mod is de-referencing a null pointer, pointers should *always* be checked before first access, which is not being done in this code. ;-) -
Yep, goes back to normal at that time. The only real thing it causes in game is just cutting the FPS by a bit, but at that time it does not matter anyway so it is not a big issue. I am just reporting all exceptions that I find to all mod authors as NPE's (NRE's in .NET parlance? I am a C++/Java dev by trade) tends to indicate a bug and even if it only happens once it can still have lasting effects, thus I am quite allergic to exceptions as I believe all developers should be. :-)
-
[1.12.x] Kerbal Alarm Clock v3.13.0.0 (April 10)
OvermindDL1 replied to TriggerAu's topic in KSP1 Mod Releases
Except this would be unrelated, the full error is: [FONT=monospace][COLOR=#000000][EXC 17:42:08.327] NullReferenceException: Object reference not set to an instance of an object[/COLOR] KerbalAlarmClock.KerbalAlarmClock.[COLOR=#ffffff]get_isEditor[/COLOR][COLOR=#000000]VAB ()[/COLOR] KerbalAlarmClock.KerbalAlarmClock.get_WindowPosByActiveScene () KerbalAlarmClock.KerbalAlarmClock.UpdateDetails () KerbalAlarmClock.KerbalAlarmClock.RepeatingWorker () Thus meaning he is not catching a null pointer/reference before accessing it. Pointers should *always* be checked before access unless it has already been confirmed and its accessible state has not changed since then, which it has not at that point in code. :-) -
It starts happening immediately when the craft crashes and it stops happening when the Flight Results dialog box appears. Recent log is at http://overminddl1.com/Kerbal/KSP.log.201506101832.tar.gz and the relevant lines in it are: [FONT=monospace][COLOR=#000000][EXC 19:43:38.005] InvalidOperationException: Operation is not valid due to the current state of the object[/COLOR] System.Linq.Enumerable.First[ModuleCommand] (IEnumerable`1 source) AY.AYController.CheckVslUpdate () AY.AYController.FixedUpdate () [/FONT]
-
It is not really a big issue, I am just reporting all exceptions that I find to all mod authors as NPE's (NRE's in .NET parlance? I am a C++/Java dev by trade) tends to indicate a bug and even if it only happens once it can still have lasting effects, thus I am quite allergic to exceptions as I believe all developers should be. :-)
-
[1.8.x] KerboKatz - SmallUtilities - 18.10.2019
OvermindDL1 replied to SpaceTiger's topic in KSP1 Mod Releases
That one likely is yeah since it only happens once, I am just reporting all that I find to all mod authors as NPE's (NRE's in .NET parlance? I am a C++/Java dev by trade) tends to indicate a bug and even if it only happens once it can still have lasting effects, thus I am quite allergic to exceptions as I believe all developers should be. :-) -
[1.8.x] KerboKatz - SmallUtilities - 18.10.2019
OvermindDL1 replied to SpaceTiger's topic in KSP1 Mod Releases
It happens on game load, recent log is: http://overminddl1.com/Kerbal/KSP.log.201506101832.tar.gz and the full set of lines from the log appear to be: [FONT=monospace][COLOR=#000000][EXC 17:22:12.201] NullReferenceException: Object reference not set to an instance of an object[/COLOR] [/FONT][COLOR=#000000][FONT=monospace]KerboKatz.KerboKatzBase[/FONT][/COLOR][FONT=monospace][COLOR=#000000].loadToolbarSettings ()[/COLOR] [/FONT][COLOR=#000000][FONT=monospace]KerboKatz.KerboKatzBase[/FONT][/COLOR][FONT=monospace][COLOR=#000000].Start ()[/COLOR] [/FONT] -
Primarily I notice it occur when I am building a craft and choose one of the items, perhaps it is trying to process something before it is ready? I uploaded the log to http://overminddl1.com/Kerbal/KSP.log.201506101832.tar.gz and the only relevent lines I find are: [FONT=monospace][COLOR=#000000][EXC 18:22:04.437] NullReferenceException: Object reference not set to an instance of an object[/COLOR] TweakableEverything.ModuleTweakableJettison.LateUpdate () [/FONT] [FONT=monospace]
-
Reporting an exception that happens a few times in code location: RCSLandAid.RCSLandingAid.Update And this happens when the button is clicked on, the color of it does not change either though my current craft may not be capable of it, in code location: RCSLandAid.RCSLandingAid.LeftClick
-
[1.1.2] Kerbal Inventory System (KIS) 1.2.12
OvermindDL1 replied to KospY's topic in KSP1 Mod Releases
Reporting an exception that occurs about once per game, but still occurs, in code location: KIS.ModuleKISInventory.UpdateKey