View Issue Details

IDProjectCategoryLast Update
0017280Stars Beyond ReachBug - OtherJun 18, 2015 12:27 pm
ReporterCinth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.894 (The Early Experience) 
Fixed in Version0.896 (Power Auto-Battle!) 
Summary0017280: Nul Ref 7
DescriptionAttacking monster w/ Sea port

Reproed out too. Load save, end turn, attack monster north of city (in the water) with the Seaport. Text here is from the initial incident, uploaded log from the repro.

==========================================================
6/16/2015 11:42:46 PM (0.894) Mem: 148,598,784 Mode: SinglePlayerOrMultiplayerHost Plat:WindowsPlayer
-----------------------------------NullReferenceException-----------------------------------
Object reference not set to an instance of an object

  at MapTile.PredictResultsOfAttack (.MapTileLayer buildingLayer, System.Single& predictedDamageToSurface, System.Single& predictedDamageToUnderground, System.Int32& attackerCasualties, System.Int32& defenderCasualties, System.Collections.Generic.List`1& interceptors, .AbilityUseResultType& CannotAttack, System.Collections.Generic.List`1 BattleLog) [0x00000] in <filename unknown>:0
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0
  at Game.DrawGame () [0x00000] in <filename unknown>:0
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0
TagsNo tags attached.

Relationships

has duplicate 0017285 resolvedkeith.lamothe Nul Ref 8/9 

Activities

Cinth

Jun 17, 2015 2:47 am

manager  

nuled up.save (178,685 bytes)

Cinth

Jun 17, 2015 2:51 am

manager  

DrawGameErrors.txt (905 bytes)   
6/16/2015 11:50:54 PM (0.894) Mem: 96,092,160 Mode: SinglePlayerOrMultiplayerHost Plat:WindowsPlayer
-----------------------------------NullReferenceException-----------------------------------
Object reference not set to an instance of an object

  at MapTile.PredictResultsOfAttack (.MapTileLayer buildingLayer, System.Single& predictedDamageToSurface, System.Single& predictedDamageToUnderground, System.Int32& attackerCasualties, System.Int32& defenderCasualties, System.Collections.Generic.List`1& interceptors, .AbilityUseResultType& CannotAttack, System.Collections.Generic.List`1 BattleLog) [0x00000] in <filename unknown>:0 
  at Game.DrawMetaMap (Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD) [0x00000] in <filename unknown>:0 
  at Game.DrawGame () [0x00000] in <filename unknown>:0 
  at Game.UpdateDisplay (Boolean IsFullVisualUpdate) [0x00000] in <filename unknown>:0 

DrawGameErrors.txt (905 bytes)   

Cinth

Jun 17, 2015 6:00 pm

manager   ~0042316

Last edited: Jun 17, 2015 6:16 pm

These happen with Silos too.

And Monster pits.

keith.lamothe

Jun 18, 2015 12:27 pm

administrator   ~0042336

For 0.896:

* Fixed some null-exception bugs when firing with the last attacker of a particular type (it would try to predict the results of firing again, come up with null for "best attacker to shoot with next", and then not properly check for that).

Thanks :)

Issue History

Date Modified Username Field Change
Jun 17, 2015 2:47 am Cinth New Issue
Jun 17, 2015 2:47 am Cinth File Added: nuled up.save
Jun 17, 2015 2:51 am Cinth File Added: DrawGameErrors.txt
Jun 17, 2015 2:53 am Cinth Description Updated
Jun 17, 2015 1:31 pm Chris_McElligottPark Assigned To => keith.lamothe
Jun 17, 2015 1:31 pm Chris_McElligottPark Status new => assigned
Jun 17, 2015 3:45 pm Chris_McElligottPark Relationship added has duplicate 0017285
Jun 17, 2015 6:00 pm Cinth Note Added: 0042316
Jun 17, 2015 6:16 pm Cinth Note Edited: 0042316
Jun 18, 2015 12:27 pm keith.lamothe Note Added: 0042336
Jun 18, 2015 12:27 pm keith.lamothe Status assigned => resolved
Jun 18, 2015 12:27 pm keith.lamothe Fixed in Version => 0.896 (Power Auto-Battle!)
Jun 18, 2015 12:27 pm keith.lamothe Resolution open => fixed