View Issue Details

IDProjectCategoryLast Update
0001038AI War 1 / ClassicBug - OtherNov 5, 2010 10:04 am
Reporterleb0fh Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version4.023 
Summary0001038: AIErrors.txt
DescriptionI keep getting the following - seems to consistantly happen when Neinzul Youngling Guard Posts (or whatever their name is) empty. This doesn't seem to actually affect the gameplay however (the AI still attacks/defends etc).


System.NullReferenceException: Object reference not set to an instance of an object
  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 Weight

Activities

leb0fh

Nov 3, 2010 7:27 am

reporter   ~0002600

This also seems to trigger when an AIEye has had enough of being blobbed

keith.lamothe

Nov 3, 2010 9:14 am

administrator   ~0002606

Last edited: Nov 3, 2010 9:14 am

Thanks much for the report, I've been trying to home in on that one.

Can you provide a save where this can be reliably made to happen (if one loads it and sends a group through a wormhole to tick off a neinzul cluster or ai eye, for example)?

If I can reproduce the error in my development environment I actually get line numbers, which makes my life a _lot_ easier.

Probably the # 1 thing I miss from SlimDX is line numbers in user error reports ;)

leb0fh

Nov 3, 2010 11:06 am

reporter  

4023AIErrors_leb0fh.sav (64,183 bytes)

leb0fh

Nov 3, 2010 11:09 am

reporter   ~0002611

Save attached (Had to quickly do a new fudged game just now for this :p).
Steps I took:
* Move blobs onto remaining AI homeworld, and make a be-line for the AI Eye - destroyed with no errors :(
* Move blob down to Orbital Mass driver and obliterate it - couple of erros :)
* Move to the Core Electrical Guard Post south of the OMD and smash it - More errors :D
There were no more errors when attacking other A structures though, so my original hypothesis is a little out!

keith.lamothe

Nov 3, 2010 11:12 am

administrator   ~0002612

Sweet! Thanks, I'll take a look when I get through my current short-list.

leb0fh

Nov 3, 2010 2:26 pm

reporter  

moar_errors.sav (66,072 bytes)

leb0fh

Nov 3, 2010 2:28 pm

reporter   ~0002624

Just added another save (moar_errors.sav) that also has this issue - just in-case seeing another angle is useful (Different AI/Unit types involved)

keith.lamothe

Nov 5, 2010 10:04 am

administrator   ~0002762

Thanks very much for the save, I was able to reproduce the null-exception very easily. Getting windows to stop killing the editor with DEP when it happened was harder, but after that I got my precious line number and that error stopped happening :)

Issue History

Date Modified Username Field Change
Nov 3, 2010 6:28 am leb0fh New Issue
Nov 3, 2010 7:27 am leb0fh Note Added: 0002600
Nov 3, 2010 9:14 am keith.lamothe Note Added: 0002606
Nov 3, 2010 9:14 am keith.lamothe Note Edited: 0002606
Nov 3, 2010 11:06 am leb0fh File Added: 4023AIErrors_leb0fh.sav
Nov 3, 2010 11:09 am leb0fh Note Added: 0002611
Nov 3, 2010 11:12 am keith.lamothe Note Added: 0002612
Nov 3, 2010 11:12 am keith.lamothe Assigned To => keith.lamothe
Nov 3, 2010 11:12 am keith.lamothe Status new => assigned
Nov 3, 2010 2:26 pm leb0fh File Added: moar_errors.sav
Nov 3, 2010 2:28 pm leb0fh Note Added: 0002624
Nov 5, 2010 10:04 am keith.lamothe Note Added: 0002762
Nov 5, 2010 10:04 am keith.lamothe Status assigned => resolved
Nov 5, 2010 10:04 am keith.lamothe Resolution open => fixed