StrangeLoopGames / EcoIssues

131 stars 21 forks source link

Server unable to load : Null reference Eco.Gameplay.LegislationSystem.LawLogic.Fields.AliasDropDown.AliasByCategoryDropDown.IdToDisplayName #10079

Closed TheKrush closed 5 years ago

TheKrush commented 5 years ago
--BEGIN DUMP--
Dump Time
11/20/2018 09:20:11

Exception
Exception: NullReferenceException
Message:Object reference not set to an instance of an object.
Source:Eco.Gameplay

System.NullReferenceException: Object reference not set to an instance of an object.
   at Eco.Gameplay.LegislationSystem.LawLogic.Fields.AliasDropDown.AliasByCategoryDropDown.IdToDisplayName(String id)
   at Eco.Gameplay.LegislationSystem.LawLogic.Fields.DropDown`1.RefreshDisplayName()
   at Eco.Gameplay.LegislationSystem.LawLogic.Fields.DropDown`1.Init()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicNode.InitializeAndValidate()
   at Eco.Gameplay.Items.Law.Initialize()
   at Eco.Gameplay.Legislation.Initialize(TimedTask timer)
   at InitializePlugins_Patch1(Object )
   at Eco.Server.PluginManager..ctor()
   at Eco.Server.Startup.Start(String[] args)
   at Eco.Server.MainClass.Main(String[] args)

--END DUMP--
TheKrush commented 5 years ago

Probably related I had used /passlaws and this kicked me out of game:

--BEGIN DUMP--
Dump Time
11/18/2018 21:48:15

Exception
Exception: NullReferenceException
Message:Object reference not set to an instance of an object.
Source:Eco.Gameplay

System.NullReferenceException: Object reference not set to an instance of an object.
   at Eco.Gameplay.LegislationSystem.LawLogic.PassedActions.RemoveDemographicAction.<>c__DisplayClass11_0.<Perform>b__1(IDemographic dem)
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at Eco.Gameplay.LegislationSystem.LawLogic.PassedActions.RemoveDemographicAction.Perform()
   at Eco.Gameplay.LegislationSystem.LawLogic.LawLogicRoot.OnLawPassed()
   at Eco.Gameplay.Items.Law.Enact()
   at Eco.Gameplay.Laws.EnactLaw(Law target)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)

--END DUMP--
D3nnis3n commented 5 years ago

Can add a save file?

BlazeGuy2 commented 5 years ago

Believe this got fixed last night. Reopen if it is still occurring.

SentilONE commented 1 year ago

Hellow! I have this problem too on 9.7.9. Player.log

Visiju commented 1 year ago

got the same problem since today on v10 Seaotter