View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019111 | AI War 2 | Crash/Exception | May 17, 2017 9:14 pm | Jun 19, 2017 8:32 pm | |
Reporter | BadgerBadger | Assigned To | Chris_McElligottPark | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.200 Decisive Battle | ||||
Fixed in Version | 0.400 Usability and the GUI Pipeline | ||||
Summary | 0019111: Exception in WriteRawDrawInstructions | ||||
Description | I had modded a game to make my ark super strong, then set it to wreck havoc while I had dinner. When I returned I spotted an error in the ArcenLog: Exception in WriteRawDrawInstructions at stage 0:System.ArgumentOutOfRangeException: Argument is out of range. Parameter name: index at System.Collections.Generic.List`1[Arcen.AIW2.External.Window_InGameOutlineSidebar+EntityGroup].get_Item (Int32 index) [0x00024] in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:635 at Arcen.AIW2.External.Window_InGameOutlineSidebar+bOutlineItem.WriteRawDrawInstructions (Arcen.Universal.ArcenRawDrawInstructionList Instructions) [0x00000] in <filename unknown>:0 at System.Environment.get_StackTrace() in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Environment.cs:line 227 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 137 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 109 at Arcen.Universal.ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity) in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\UtilityLibraries\ArcenDebugging.cs:line 88 at Arcen.AIW2.External.Window_InGameOutlineSidebar+bOutlineItem.WriteRawDrawInstructions(Arcen.Universal.ArcenRawDrawInstructionList Instructions) at Arcen.Universal.ArcenUI_RawImage.OnSimStableUpdate() in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenUI\ArcenUI_RawImage.cs:line 104 at Arcen.Universal.ArcenUI_Window.OnSimStableUpdate() in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenUI\ArcenUI_Window.cs:line 49 at Arcen.Universal.ArcenUI.OnSimStableUpdate() in D:\vclarge\AI_War_2_Ultra\ArcenUniversal\src\ArcenUI\ArcenUI.cs:line 138 at Arcen.AIW2.Core.SimExecution.Execute() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimExecution\SimExecution.cs:line 41 at Arcen.AIW2.Core.ArcenSimPlanningContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 80 at Arcen.AIW2.Core.ArcenExecutionContext.InnerRun() in D:\vclarge\AI_War_2_Ultra\ArcenAIW2Core\src\Logic\Sim\SimPlanningLoop.cs:line 221 | ||||
Tags | No tags attached. | ||||
|
It's nothing you caused with your mods -- this is just a case of the sidebar stuff sometimes being able to get broken because of no longer using locks to ensure non-volatility across threads. My goal is to make it so that it gracefully fails over when things like this happen, and so that you never know it happens, rather than it being something that absolutely can't happen. Using the locks causes too much dependency between threads in the cases where this is concerned, since it's noncritical data that gets updated less than a second later anyway. |
|
Yeah, it didn't look like anything to do with the mods, but it's best practice to explain everything you did when a problem occurred. |
|
I am extraordinarily grateful for you and everyone else who follows that best practice. :) |
|
No longer possible, as all that code is gone now. Yay! :) |
Date Modified | Username | Field | Change |
---|---|---|---|
May 17, 2017 9:14 pm | BadgerBadger | New Issue | |
May 17, 2017 9:20 pm | Chris_McElligottPark | Assigned To | => Chris_McElligottPark |
May 17, 2017 9:20 pm | Chris_McElligottPark | Status | new => assigned |
May 17, 2017 9:22 pm | Chris_McElligottPark | Note Added: 0046170 | |
May 17, 2017 9:29 pm | BadgerBadger | Note Added: 0046171 | |
May 17, 2017 9:30 pm | Chris_McElligottPark | Note Added: 0046172 | |
Jun 19, 2017 8:32 pm | Chris_McElligottPark | Note Added: 0046300 | |
Jun 19, 2017 8:32 pm | Chris_McElligottPark | Status | assigned => resolved |
Jun 19, 2017 8:32 pm | Chris_McElligottPark | Fixed in Version | => 0.400 Usability and the GUI Pipeline |
Jun 19, 2017 8:32 pm | Chris_McElligottPark | Resolution | open => fixed |