View Issue Details

IDProjectCategoryLast Update
0026960AI War 2Crash/ExceptionApr 20, 2022 11:21 am
ReporterDismiss Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version4.019 To Hack, Or Not To Hack 
Fixed in Version4.025 Lightning Conduction 
Summary0026960: exception soon after load
Description
4/13/2022 11:41:05 AM 4.016 SINGLEP Window_ResourceBar: System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.External.Window_ResourceBar+tThreat+<>c__DisplayClass5_0.<GetTextToShowFromVolatile>b__0 (Arcen.AIW2.Core.Planet planet) [0x0000d] in <387bdca1288e439fb1078a1c8326f765>:0
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x0003b] in <5ba6cb24dee24142a984bc868ebe1770>:0
  at Arcen.AIW2.Core.World_AIW2.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00016] in <5ba6cb24dee24142a984bc868ebe1770>:0
  at Arcen.AIW2.External.Window_ResourceBar+tThreat.GetTextToShowFromVolatile (Arcen.Universal.ArcenDoubleCharacterBuffer Buffer) [0x00065] in <387bdca1288e439fb1078a1c8326f765>:0
  at Arcen.Universal.ArcenUI_Button.OnUpdateVolatileDataFromMainThread () [0x000df] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00070] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00018] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at Arcen.Universal.ArcenDebugging.ArcenLog_InnerOnMainThreadOnly (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity, System.DateTime Timestamp) [0x00000] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.Universal.Engine_Universal.OnUpdateEngineUniversalFromMainThread () [0x00000] in <98c03e11c8ce454fa7ce7d99b2009052>:0
  at Arcen.AIW2.Core.ArcenGameControllerBase.BaseUpdate () [0x00000] in <5ba6cb24dee24142a984bc868ebe1770>:0
  at ArcenGameController.Update () [0x00000] in <63e17e5173fc4267999e44b49e187469>:0
TagsNo tags attached.

Activities

Dismiss

Apr 14, 2022 5:08 pm

developer  

image.png (4,239,935 bytes)
ArcenDebugLog.txt (2,009,543 bytes)
3.save (556,752 bytes)
3.savemet (107 bytes)   
UK
85752439
7202
necro 6
<color=#ff3232>Hard </color> Swarmer
Difficulty 7
2
<color=#506675>Dismiss</color>
3.savemet (107 bytes)   

Dismiss

Apr 14, 2022 5:11 pm

developer   ~0066025

Occurred a second time did the following both times:
1. Load
2. Drag select all fleets, order to Irregular Apocalypse (there are some eldar there).
3. Unpause
4. When first fleet arrives unload them, from galaxy map

Might just happen doing nothing too, but that's what i did both times.

Dismiss

Apr 14, 2022 5:12 pm

developer   ~0066026

Yea just do nothing but put speed at 3x and it happens too.

BadgerBadger

Apr 14, 2022 5:53 pm

manager   ~0066028

I added some defensive code in 4.017 which included additional debug data for when the problem was hit. I need a recreate on 4.017 or more recent

Dismiss

Apr 16, 2022 12:31 pm

developer   ~0066082

I'm guessing that it did not help to load this same save with that code change?

BadgerBadger

Apr 16, 2022 12:41 pm

manager   ~0066084

Well, I have the choice of spending time trying to recreate this problem (which I hope I fixed), or asking someone else to try while I work on other tickets (like making DZ beacons work). I chose the latter because its more efficient for my workflow.

Chris_McElligottPark

Apr 20, 2022 11:21 am

administrator   ~0066176

Thanks!

* Fixed some exceptions that could happen in tooltip formatting.

Issue History

Date Modified Username Field Change
Apr 14, 2022 5:08 pm Dismiss New Issue
Apr 14, 2022 5:08 pm Dismiss File Added: image.png
Apr 14, 2022 5:08 pm Dismiss File Added: ArcenDebugLog.txt
Apr 14, 2022 5:08 pm Dismiss File Added: 3.save
Apr 14, 2022 5:08 pm Dismiss File Added: 3.savemet
Apr 14, 2022 5:11 pm Dismiss Note Added: 0066025
Apr 14, 2022 5:12 pm Dismiss Note Added: 0066026
Apr 14, 2022 5:53 pm BadgerBadger Note Added: 0066028
Apr 14, 2022 5:53 pm BadgerBadger Status new => requires feedback
Apr 16, 2022 12:31 pm Dismiss Note Added: 0066082
Apr 16, 2022 12:41 pm BadgerBadger Note Added: 0066084
Apr 20, 2022 11:21 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 20, 2022 11:21 am Chris_McElligottPark Status requires feedback => resolved
Apr 20, 2022 11:21 am Chris_McElligottPark Resolution open => fixed
Apr 20, 2022 11:21 am Chris_McElligottPark Fixed in Version => 4.025 Lightning Conduction
Apr 20, 2022 11:21 am Chris_McElligottPark Note Added: 0066176