View Issue Details

IDProjectCategoryLast Update
0011058AI War 1 / ClassicSuggestion - AI Behavior And TacticsApr 16, 2013 4:24 pm
Reporterfuzz_head Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version6.020 
Fixed in Version6.021 
Summary0011058: Getting "AILoop Error" repeatedly in message log
DescriptionThis new error just occurred from the last beta update that went out sometime between April 14th and April 15th.

While playing a multiplayer game, the message (in red), "AILoop Error", pops up every second (or quicker) during AI attacks or sometimes even when it seems there aren't any attacks going on (but the message appears less frequent). This message ONLY pops up for me; I am the host of the game, so this could be why.

Here is one of the errors from the AIErrors.txt log (attached this file to this report):

4/16/2013 2:48:32 AM (6.020) Mem: 390,172,672 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0
TagsNo tags attached.
Internal WeightNew

Activities

fuzz_head

Apr 16, 2013 11:11 am

reporter  

AIErrors.txt (23,716 bytes)   
4/16/2013 2:48:32 AM (6.020) Mem: 390,172,672 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:33 AM (6.020) Mem: 393,523,200 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:34 AM (6.020) Mem: 396,632,064 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:35 AM (6.020) Mem: 397,287,424 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:36 AM (6.020) Mem: 397,807,616 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:37 AM (6.020) Mem: 398,323,712 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:38 AM (6.020) Mem: 398,790,656 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:39 AM (6.020) Mem: 399,396,864 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:40 AM (6.020) Mem: 400,809,984 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:41 AM (6.020) Mem: 402,403,328 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:41 AM (6.020) Mem: 403,505,152 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:42 AM (6.020) Mem: 405,143,552 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:43 AM (6.020) Mem: 407,474,176 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:44 AM (6.020) Mem: 230,363,136 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:45 AM (6.020) Mem: 230,649,856 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:46 AM (6.020) Mem: 230,858,752 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:47 AM (6.020) Mem: 231,202,816 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:48 AM (6.020) Mem: 231,809,024 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:49 AM (6.020) Mem: 233,058,304 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:50 AM (6.020) Mem: 233,975,808 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:51 AM (6.020) Mem: 236,142,592 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:51 AM (6.020) Mem: 237,137,920 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:52 AM (6.020) Mem: 238,202,880 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:53 AM (6.020) Mem: 239,108,096 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:54 AM (6.020) Mem: 240,074,752 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:55 AM (6.020) Mem: 241,098,752 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:56 AM (6.020) Mem: 242,167,808 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:57 AM (6.020) Mem: 243,597,312 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:58 AM (6.020) Mem: 245,022,720 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:48:59 AM (6.020) Mem: 246,398,976 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:00 AM (6.020) Mem: 247,828,480 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:01 AM (6.020) Mem: 249,405,440 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:01 AM (6.020) Mem: 251,002,880 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:02 AM (6.020) Mem: 252,473,344 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:03 AM (6.020) Mem: 254,390,272 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:04 AM (6.020) Mem: 256,061,440 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:05 AM (6.020) Mem: 257,695,744 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:06 AM (6.020) Mem: 259,166,208 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:07 AM (6.020) Mem: 261,672,960 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:08 AM (6.020) Mem: 264,019,968 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:09 AM (6.020) Mem: 265,613,312 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:10 AM (6.020) Mem: 267,603,968 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:11 AM (6.020) Mem: 269,651,968 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

4/16/2013 2:49:12 AM (6.020) Mem: 271,609,856 Plat:Cannot read platform from AI thread
-----------------------------------AILoop Error-----------------------------------
System.NullReferenceException: Object reference not set to an instance of an object
  at System.Int32.ToString () [0x00000] in <filename unknown>:0 
  at AITactics.ShipCombatTactics (Int32 PlayerNumber, Int32 AIAttackingThreateningAIUnits, Int32 HumanMilitaryUnits) [0x00000] in <filename unknown>:0 
  at AILoop.RunAILoop () [0x00000] in <filename unknown>:0 

AIErrors.txt (23,716 bytes)   

keith.lamothe

Apr 16, 2013 1:07 pm

administrator   ~0031498

Do you have the save where this is happening for you in MP?

Thanks :)

And yes, AI errors would only happen on the host because the AI thread only runs on the host.

fuzz_head

Apr 16, 2013 1:20 pm

reporter  

ADE_2013_04_01.sav (894,799 bytes)

fuzz_head

Apr 16, 2013 1:21 pm

reporter   ~0031499

Yes, I just uploaded the save file. Thank you for looking into this!

Chthonic One

Apr 16, 2013 2:19 pm

reporter   ~0031500

Last edited: Apr 16, 2013 2:23 pm

I am getting the same thing. Is there a way I can add a save as well to this ticket?

Edit: Just noticed the button was available for me to click upload as well. Done. Now you have 2 examples.

Note: This just started happening with the latest patch. Not sure what it means really, but I have noticed that the AI is not building threat like it used to. This could be in part the changes to reinforcement logic or something new. At one point I was at 6k threat.... now I'm rarely over 200.

Chthonic One

Apr 16, 2013 2:21 pm

reporter  

Chthon\'s Stream.sav (550,815 bytes)

keith.lamothe

Apr 16, 2013 2:37 pm

administrator   ~0031501

Thanks for the saves :)

Chthon, I loaded your save and have been running it at +10 for a while now. No AIErrors or other errors. How long do you have to run it after opening it to see problems?

Chthonic One

Apr 16, 2013 3:20 pm

reporter   ~0031502

Last edited: Apr 16, 2013 3:25 pm

They generally started happening during AI assaults. Not waves, just whenever the AI decided to attack a system. I'd get pulses of 10ish errors, then it'd stop till the next one. It was weird, because it was always groupings of the same message, often happening one set between autosaves, which were at the default timing.

Edit: Crap, just checked my video http://www.twitch.tv/chthonicone/b/391514325. I put my webcam over where you'd be seeing the message :/ However I did mention when they were happening if you really want to see what's going on and when. Fraid I don't have a timestamp though.

keith.lamothe

Apr 16, 2013 3:28 pm

administrator   ~0031503

Ok, I just left it running and eventually it happened. For 6.021:

* Fixed a null-exception bug in the AI code caused by the recent fix to the retreat logic.

Thanks :)

fuzz_head

Apr 16, 2013 4:24 pm

reporter   ~0031505

Nice fast response...thanks!

Issue History

Date Modified Username Field Change
Apr 16, 2013 11:11 am fuzz_head New Issue
Apr 16, 2013 11:11 am fuzz_head File Added: AIErrors.txt
Apr 16, 2013 1:07 pm keith.lamothe Note Added: 0031498
Apr 16, 2013 1:07 pm keith.lamothe Assigned To => keith.lamothe
Apr 16, 2013 1:07 pm keith.lamothe Status new => feedback
Apr 16, 2013 1:20 pm fuzz_head File Added: ADE_2013_04_01.sav
Apr 16, 2013 1:21 pm fuzz_head Note Added: 0031499
Apr 16, 2013 1:21 pm fuzz_head Status feedback => assigned
Apr 16, 2013 2:19 pm Chthonic One Note Added: 0031500
Apr 16, 2013 2:21 pm Chthonic One File Added: Chthon\'s Stream.sav
Apr 16, 2013 2:23 pm Chthonic One Note Edited: 0031500
Apr 16, 2013 2:37 pm keith.lamothe Note Added: 0031501
Apr 16, 2013 3:20 pm Chthonic One Note Added: 0031502
Apr 16, 2013 3:23 pm Chthonic One Note Edited: 0031502
Apr 16, 2013 3:25 pm Chthonic One Note Edited: 0031502
Apr 16, 2013 3:28 pm keith.lamothe Internal Weight => New
Apr 16, 2013 3:28 pm keith.lamothe Note Added: 0031503
Apr 16, 2013 3:28 pm keith.lamothe Status assigned => resolved
Apr 16, 2013 3:28 pm keith.lamothe Fixed in Version => 6.021
Apr 16, 2013 3:28 pm keith.lamothe Resolution open => fixed
Apr 16, 2013 4:24 pm fuzz_head Note Added: 0031505