View Issue Details

IDProjectCategoryLast Update
0022812AI War 2Crash/ExceptionFeb 22, 2020 12:53 am
ReporterOvalcircle Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product VersionBETA 1.330 Extragalactic War First Steps 
Fixed in Version1.333 Hotfix 
Summary0022812: Error in thread for execution context 'executionContext'
DescriptionI think there are two bugs here.

The first error report is by itself.

The second is different and is then reported again.
TagsNo tags attached.

Activities

Ovalcircle

Feb 21, 2020 3:40 pm

reporter  

Arcen Debug Log.txt (12,251 bytes)   
2/21/2020 3:34:27 PM
Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ReactToPowerLevel	433	1586	0	0
	DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim	2874	9431	0	0
	<DoWorldSecondLogic_FromSimBGThread>b__2	1	55	0	0
	DoForFactions	18	107	0	0
	DoWorldSecondLogic_FromSimBGThread	102	770	0	0
	DoWorldStepLogic_FromSimBGThread	432	1370	0	0
	Execute	186	487	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.External.SpecialFaction_AI.ReactToPowerLevel (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x001b1] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SpecialFaction_AI.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x00b3a] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass40_0.<DoWorldSecondLogic_FromSimBGThread>b__2 (Arcen.AIW2.Core.Faction faction) [0x00001] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <d1b233deab6a4e1f9caa4dac448dec4c>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00066] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x001b0] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000ba] in <50599df585ef4de39136298495935665>: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 <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 

2/21/2020 3:34:27 PM
Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ReactToPowerLevel	433	1586	0	0
	DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim	2874	9431	0	0
	<DoWorldSecondLogic_FromSimBGThread>b__2	1	55	0	0
	DoForFactions	18	107	0	0
	DoWorldSecondLogic_FromSimBGThread	102	770	0	0
	DoWorldStepLogic_FromSimBGThread	432	1370	0	0
	Execute	186	487	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.External.SpecialFaction_AI.ReactToPowerLevel (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x001b1] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SpecialFaction_AI.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x00b3a] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass40_0.<DoWorldSecondLogic_FromSimBGThread>b__2 (Arcen.AIW2.Core.Faction faction) [0x00001] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <d1b233deab6a4e1f9caa4dac448dec4c>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00066] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x001b0] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000ba] in <50599df585ef4de39136298495935665>: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 <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 

2/21/2020 3:34:28 PM
Error in thread for execution context 'executionContext'
NullReferenceException
Object reference not set to an instance of an object
===STACK FRAMES (with file info)===
FILE	METHOD	IL_OFFSET	NATIVE_OFFSET	LINE_NUMBER	COLUMN_NUMBER
	ReactToPowerLevel	433	1586	0	0
	DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim	2874	9431	0	0
	<DoWorldSecondLogic_FromSimBGThread>b__2	1	55	0	0
	DoForFactions	18	107	0	0
	DoWorldSecondLogic_FromSimBGThread	102	770	0	0
	DoWorldStepLogic_FromSimBGThread	432	1370	0	0
	Execute	186	487	0	0
===RAW STACK TRACE===
  at Arcen.AIW2.External.SpecialFaction_AI.ReactToPowerLevel (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x001b1] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SpecialFaction_AI.DoPerSecondLogic_Stage3Main_OnMainThreadAndPartOfSim (Arcen.AIW2.Core.Faction faction, Arcen.AIW2.Core.ArcenSimContext Context) [0x00b3a] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation+<>c__DisplayClass40_0.<DoWorldSecondLogic_FromSimBGThread>b__2 (Arcen.AIW2.Core.Faction faction) [0x00001] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForFactions (Arcen.AIW2.Core.Faction+ProcessorDelegate Processor) [0x00012] in <d1b233deab6a4e1f9caa4dac448dec4c>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldSecondLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x00066] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation.DoWorldStepLogic_FromSimBGThread (Arcen.AIW2.Core.ArcenSimContext Context) [0x001b0] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x000ba] in <50599df585ef4de39136298495935665>: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 <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.Universal.ArcenDebugging.LogException (System.Exception e, System.String message, Arcen.Universal.Verbosity verbosity) [0x00000] in <3c172ef2ace24fba863d3c2fd05ee013>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenSimPlanningContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <50599df585ef4de39136298495935665>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
Arcen Debug Log.txt (12,251 bytes)   

BadgerBadger

Feb 21, 2020 4:11 pm

manager   ~0056063

This is a problem with the AI Extragalactic war response. I've added some debugging code.

BadgerBadger

Feb 22, 2020 12:53 am

manager   ~0056065

Problem no longer seems to reproduce

Issue History

Date Modified Username Field Change
Feb 21, 2020 3:40 pm Ovalcircle New Issue
Feb 21, 2020 3:40 pm Ovalcircle File Added: Arcen Debug Log.txt
Feb 21, 2020 4:11 pm BadgerBadger Assigned To => BadgerBadger
Feb 21, 2020 4:11 pm BadgerBadger Status new => requires feedback
Feb 21, 2020 4:11 pm BadgerBadger Note Added: 0056063
Feb 22, 2020 12:53 am BadgerBadger Status requires feedback => resolved
Feb 22, 2020 12:53 am BadgerBadger Resolution open => fixed
Feb 22, 2020 12:53 am BadgerBadger Fixed in Version => 1.333 Hotfix
Feb 22, 2020 12:53 am BadgerBadger Note Added: 0056065