View Issue Details

IDProjectCategoryLast Update
0021822AI War 2Crash/ExceptionOct 16, 2019 1:37 pm
ReporterAsteroid Assigned ToBadgerBadger  
Status closedResolutionno change required 
Product Version0.951 Hotfixes 
Summary0021822: Dev Build: NullRef when hovering any object due to "Debug_ShowShipCoordinates" setting
DescriptionHaven't enabled the setting in question but the stage it errors at is related, I'm getting this constantly:

10/16/2019 1:22:19 PM
Exception in entity tooltip text generation at stage 6046:System.ArgumentNullException: Value cannot be null.
Parameter name: key
  at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenSparseLookup`2[K,T].GetItemForKey (K Key) [0x00001] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenSparseLookup`2[K,T].get_Item (K key) [0x00001] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.GameSettings.GetBoolBySetting (Arcen.Universal.ArcenSetting setting) [0x00033] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.GameSettings.GetBoolBySetting (System.String setting) [0x00012] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Int32 OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailsInfo DetailsType) [0x098ae] in <39a59825a3f44c42860ca0403ee75a31>:0

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.GameEntityTypeData TypeDataOrNull, System.Int32 OptionalCountToShow, Arcen.AIW2.Core.Faction ForFactionOrNull, System.Int32 OptionalForMarkLevel, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, Arcen.AIW2.External.ShipExtraDetailsInfo DetailsType) [0x00000] in <39a59825a3f44c42860ca0403ee75a31>:0
  at Arcen.AIW2.External.Window_InGameSidebarShips+ShipIconImageBase.HandleMouseover () [0x00000] in <39a59825a3f44c42860ca0403ee75a31>:0
  at Arcen.Universal.ArcenUI_Element.UpdateFromUI (System.Boolean ShouldDoFullUpdate, System.Single DeltaTime) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateWindow (System.Single AddedDeltaTime) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenUI.OnUpdateFromMainThread () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at ArcenGameController.Update () [0x00000] in <85373047697d47678ef6bb43a294699c>:0
TagsNo tags attached.

Activities

Asteroid

Oct 16, 2019 1:26 pm

reporter   ~0053743

Also getting this when trying to enter the Debug menu:

10/16/2019 1:26:04 PM
Null controller on ButtonBlueSmallerCenter 13

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLogErrorWrapper (System.String Message) [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenUI_Element.OnMainThreadUpdate () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenUI_Window.OnMainThreadUpdate () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.ArcenUI.OnMainThreadUpdate () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <1f53391ba33442d78c436c8c27a54295>:0
  at ArcenGameController.Update () [0x00000] in <85373047697d47678ef6bb43a294699c>:0

Asteroid

Oct 16, 2019 1:27 pm

reporter   ~0053744

This is using the latest Steam release + current SVN code, so it might be muddling things up, I don't have Google Drive stuff copied to this computer.

BadgerBadger

Oct 16, 2019 1:28 pm

manager   ~0053745

I can reproduce the crash if I remove the mention of the Setting from the XML. Is your xml up to date?

Asteroid

Oct 16, 2019 1:36 pm

reporter   ~0053746

My XML was indeed not up-to-date, sorry for the false alarm. I was copying code but not XML to the Steam location with this setup.

Issue History

Date Modified Username Field Change
Oct 16, 2019 1:25 pm Asteroid New Issue
Oct 16, 2019 1:26 pm Asteroid Note Added: 0053743
Oct 16, 2019 1:27 pm Asteroid Note Added: 0053744
Oct 16, 2019 1:28 pm BadgerBadger Note Added: 0053745
Oct 16, 2019 1:36 pm Asteroid Note Added: 0053746
Oct 16, 2019 1:37 pm BadgerBadger Assigned To => BadgerBadger
Oct 16, 2019 1:37 pm BadgerBadger Status new => closed
Oct 16, 2019 1:37 pm BadgerBadger Resolution open => no change required