Tarsier Space Technology Continued...

Tarsier Space Technology Continued...

139k Downloads

Progression tracking error log spam

KSAMissionCtrl opened this issue ยท 4 comments

commented

I saw this happen under KSP v1.1.2 as well but upgraded to v1.1.3 before I got fully setup on v1.1.2 to really look into the issue. Output log attached with the exception spam, it happens when I launch the first rocket of my career game (sounding rocket by USI). The log is spammed with the exceptions and I also get spammed reputation and funds.

output_log_TST.zip

commented

Log spamming:-
NullReferenceException: Object reference not set to an instance of an object
at ResearchAndDevelopment.partTechAvailable (.AvailablePart ap) [0x00000] in :0
at ResearchAndDevelopment.PartTechAvailable (.AvailablePart ap) [0x00000] in :0
at TarsierSpaceTech.TSTTelescopeContract.MeetRequirements () [0x00000] in :0
at Contracts.Contract.Generate (System.Type contractType, ContractPrestige difficulty, Int32 seed, state state) [0x00000] in :0
at Contracts.ContractSystem.GenerateContract (Int32 seed, ContractPrestige difficulty, System.Type contractType) [0x00000] in :0
at Contracts.ContractSystem.GenerateContract (System.Int32& seed, ContractPrestige difficulty) [0x00000] in :0
at Contracts.ContractSystem.GenerateContracts (System.Int32& seed, ContractPrestige difficulty, Int32 count) [0x00000] in :0
at Contracts.ContractSystem.RefreshContracts () [0x00000] in :0
at Contracts.ContractSystem+c__Iterator81.MoveNext () [0x00000] in :0

NullReferenceException: Object reference not set to an instance of an object
at ResearchAndDevelopment.partTechAvailable (.AvailablePart ap) [0x00000] in :0
at ResearchAndDevelopment.PartTechAvailable (.AvailablePart ap) [0x00000] in :0
at TarsierSpaceTech.TSTChemCamContract.MeetRequirements () [0x00000] in :0
at Contracts.Contract.Generate (System.Type contractType, ContractPrestige difficulty, Int32 seed, State state) [0x00000] in :0
at Contracts.ContractSystem.GenerateContract (Int32 seed, ContractPrestige difficulty, System.Type contractType) [0x00000] in :0
at Contracts.ContractSystem.GenerateContract (System.Int32& seed, ContractPrestige difficulty) [0x00000] in :0
at Contracts.ContractSystem.GenerateContracts (System.Int32& seed, ContractPrestige difficulty, Int32 count) [0x00000] in :0
at Contracts.ContractSystem.RefreshContracts () [0x00000] in :0
at Contracts.ContractSystem.OnReputationChanged (Single newRep, TransactionReasons reason) [0x00000] in :0
at EventData`2[System.Single,TransactionReasons].Fire (Single data0, TransactionReasons data1) [0x00000] in :0
at Reputation.AddReputation (Single r, TransactionReasons reason) [0x00000] in :0
at ProgressNode.AwardProgress (System.String description, Single funds, Single science, Single reputation, .CelestialBody body) [0x00000] in :0
at ProgressNode.AwardProgressInterval (System.String description, Int32 currentInterval, Int32 totalIntervals, ProgressType progress, .CelestialBody body) [0x00000] in :0
at KSPAchievements.RecordsSpeed.iterateVessels (.Vessel v) [0x00000] in :0
at ProgressTree.IterateVessels (.Vessel v) [0x00000] in :0
at ProgressTracking.Update () [0x00000] in :0

commented

Looking at your log. It does not appear as though the TST parts have been loaded by KSP.
They appear nowhere in the log.
Do you have a \GameData\TarsierSpaceTech\Parts folder? with lots of sub-folders? With *.cfg files etc in them?
I'm guessing not otherwise I'd see something in your log where it loaded or tried to load them. But there is nothing. Re-download and install TST manually and check you have these folders.

commented

Ah, the folders I have but the parts I do not load unless I actually need them. Sometimes when hunting down issues I forget that I do this and don't think to try putting the parts back in. Can these issues be removed when parts are not present? If not, I will just keep TST parts loaded at all times. With x64 it's not that big of a deal as it used to be but I still have over 5k parts so I try to keep as many unloaded as possible during regular play (when I'm not building a new craft)

commented

I've already coded a fix so if the parts are not present it will handle them. Will be in the next version.