jrossignol / ContractConfigurator

A config file based solution for creating new contracts for Kerbal Space Program.
https://forum.kerbalspaceprogram.com/index.php?/topic/91625-1
Other
64 stars 67 forks source link

Exception occured while attempt to generate contract of type 'RP0.MoonLanding': #729

Open ThisisShoo opened 1 month ago

ThisisShoo commented 1 month ago

This appeared when I updated a bunch of mods via Ckan:

Exception occured while attempt to generate contract of type 'RP0.MoonLanding':
System.NullReferenceException: Object reference not set to an instance of an object
  at ContractConfigurator.Parameters.ReachState+<>c.<BodyList>b__94_0 (CelestialBody cb) [0x00000] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.LocalizationUtil._LocalizeList[T] (ContractConfigurator.LocalizationUtil+Conjunction conjunction, System.Collections.Generic.IEnumerable`1[T] values, System.Func`2[T,TResult] strFunc) [0x0001c] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.LocalizationUtil.LocalizeList[T] (ContractConfigurator.LocalizationUtil+Conjunction conjunction, System.Collections.Generic.IEnumerable`1[T] values, System.Func`2[T,TResult] strFunc) [0x00005] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.Parameters.ReachState.BodyList () [0x00007] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x0001f] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.Parameters.ReachState..ctor (System.Collections.Generic.List`1[T] targetBodies, System.String biome, System.Collections.Generic.List`1[T] situation, System.Single minAltitude, System.Single maxAltitude, System.Single minTerrainAltitude, System.Single maxTerrainAltitude, System.Double minSpeed, System.Double maxSpeed, System.Nullable`1[T] speedMode, System.Double minRateOfClimb, System.Double maxRateOfClimb, System.Single minAcceleration, System.Single maxAcceleration, System.Double minDeltaVeeActual, System.Double maxDeltaVeeActual, System.Double minDeltaVeeVacuum, System.Double maxDeltaVeeVacuum, System.String title, System.Single updateFrequency) [0x0009d] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ReachStateFactory.Generate (Contracts.Contract contract) [0x00000] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ParameterFactory.Generate (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost) [0x00016] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0007e] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0008c] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ContractType.GenerateParameters (ContractConfigurator.ConfiguredContract contract) [0x00000] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 
  at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00221] in <f19907ed46934a6f8e5fbd2292d5ac75>:0 

I have been running one of the older version of RP-1 prior to the update