inigma Posted October 10, 2024 Share Posted October 10, 2024 Thanks for keeping this mod alive. With the downfall of KSP 2, my org has spun up a KSP 1 LMP server and we're finding we need to make money. I am looking to fully update my Giving Aircraft a Purpose pack to the new CC so peeps can use it again. Quote Link to comment Share on other sites More sharing options...
eschnak1472 Posted November 4, 2024 Share Posted November 4, 2024 I'm using version 2.11.0.0 of this mod, and I get this error occasionally (seems to happen on certain crewed vessels when quicksaving): Exception occured while saving ScenarioModule 'ContractVesselTracker': System.NullReferenceException: Object reference not set to an instance of an object at ContractConfigurator.Extensions+<>c__DisplayClass5_1.<GetHashes>b__1 (ProtoPartSnapshot childPart) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at ContractConfigurator.Extensions+<GetHashes>d__5.MoveNext () [0x00320] in <0ac19348e13c43e280580b62f08ea2eb>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at ContractConfigurator.ContractVesselTracker.OnSave (ConfigNode node) [0x0007c] in <0ac19348e13c43e280580b62f08ea2eb>:0 The error pop up said to post it here, along with the message "The ScenarioModule data was not correctly save - reloading the save may result in further errors." Is there a fix for this? Quote Link to comment Share on other sites More sharing options...
TriggeredSnake Posted November 28, 2024 Share Posted November 28, 2024 At some point Harmony was added as a dependency, but nothing says it on the forums as far as I can tell. It’s listed on CKAN, but not for manual install. This really ought to be rectified as I had a lot of trouble due to the lack of Harmony with no idea how to fix it until a Redditor could point it out to me. Quote Link to comment Share on other sites More sharing options...
Lisias Posted December 22, 2024 Share Posted December 22, 2024 On 11/28/2024 at 5:51 PM, TriggeredSnake said: At some point Harmony was added as a dependency, but nothing says it on the forums as far as I can tell. It’s listed on CKAN, but not for manual install. This really ought to be rectified as I had a lot of trouble due to the lack of Harmony with no idea how to fix it until a Redditor could point it out to me. The Contract Configuration that added Harmony as dependency is not this one. There's no mention for Harmony on the repo: https://github.com/search?q=repo%3Ajrossignol%2FContractConfigurator Harmony&type=code Quote Link to comment Share on other sites More sharing options...
waynemorrow23 Posted December 26, 2024 Share Posted December 26, 2024 Got this error when loading into a new save after installing Giving Aircraft a Purpose. Any idea what I should do? I've uninstalled and reinstalled the pack and still got this message. Thanks! Exception occured while attempt to generate contract of type 'GAP.Wright-FirstFlight': 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 <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.Parameters.ReachState.BodyList () [0x00007] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x0001f] in <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ReachStateFactory.Generate (Contracts.Contract contract) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.Generate (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost) [0x00016] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0007e] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0008c] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ContractType.GenerateParameters (ContractConfigurator.ConfiguredContract contract) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00221] in <0ac19348e13c43e280580b62f08ea2eb>:0 Quote Link to comment Share on other sites More sharing options...
Fizzlebop Smith Posted December 26, 2024 Share Posted December 26, 2024 (edited) 3 hours ago, waynemorrow23 said: Got this error when loading into a new save after installing Giving Aircraft a Purpose. Any idea what I should do? I've uninstalled and reinstalled the pack and still got this message. Thanks! Exception occured while attempt to generate contract of type 'GAP.Wright-FirstFlight': 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 <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.Parameters.ReachState.BodyList () [0x00007] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.Parameters.ReachState.CreateDelegates () [0x0001f] in <0ac19348e13c43e280580b62f08ea2eb>: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 <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ReachStateFactory.Generate (Contracts.Contract contract) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.Generate (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost) [0x00016] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0007e] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ParameterFactory.GenerateParameters (ContractConfigurator.ConfiguredContract contract, Contracts.IContractParameterHost contractParamHost, System.Collections.Generic.List`1[T] paramFactories) [0x0008c] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ContractType.GenerateParameters (ContractConfigurator.ConfiguredContract contract) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at ContractConfigurator.ConfiguredContract.Initialize (ContractConfigurator.ContractType contractType) [0x00221] in <0ac19348e13c43e280580b62f08ea2eb>:0 There is a certain method to the madness of troubleshooting a modded install. When coming to the forums for help, the gracious mod authors that give us the keys ask we take certain efforts in packaging the help request in a way that 1) I clear and easy to understand 2) provides a set of minimum resources required to assist you Edited December 26, 2024 by Fizzlebop Smith Quote Link to comment Share on other sites More sharing options...
MusicByVano Posted December 26, 2024 Share Posted December 26, 2024 Getting this error every time on auto save Exception occured while saving ScenarioModule 'ContractVesselTracker': System.NullReferenceException: Object reference not set to an instance of an object at ContractConfigurator.Extensions+<>c__DisplayClass5_1.<GetHashes>b__1 (ProtoPartSnapshot childPart) [0x00000] in <0ac19348e13c43e280580b62f08ea2eb>:0 at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Boolean& found) [0x00045] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at ContractConfigurator.Extensions+<GetHashes>d__5.MoveNext () [0x00320] in <0ac19348e13c43e280580b62f08ea2eb>:0 at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value, System.Collections.Generic.IEqualityComparer`1[T] comparer) [0x00036] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.Contains[TSource] (System.Collections.Generic.IEnumerable`1[T] source, TSource value) [0x0000a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at ContractConfigurator.ContractVesselTracker+<>c__DisplayClass17_0.<OnSave>b__1 (Vessel v) [0x0000f] in <0ac19348e13c43e280580b62f08ea2eb>:0 at System.Collections.Generic.List`1[T].Find (System.Predicate`1[T] match) [0x0000d] in <9577ac7a62ef43179789031239ba8798>:0 at ContractConfigurator.ContractVesselTracker.OnSave (ConfigNode node) [0x00060] in <0ac19348e13c43e280580b62f08ea2eb>:0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.