View Issue Details

IDProjectCategoryLast Update
0021304AI War 2Crash/ExceptionJun 27, 2019 6:17 pm
ReporterBadgerBadger Assigned ToBadgerBadger  
Status resolvedResolutionfixed 
Product Version0.871 More Control, Part 1 
Fixed in Version0.872 Supply and Control 
Summary0021304: Null reference: GetMaxMarkLevelInPlayerFleetsAtPlanet
DescriptionI hit this one

6/22/2019 6:06:20 PM
Exception in entity tooltip text generation at stage 305:System.NullReferenceException: Object reference not set to an instance of an object
  at Arcen.AIW2.Core.Planet.GetMaxMarkLevelInPlayerFleetsAtPlanet () [0x00018] in <c7235bcaa3184f1e861043c60fcae5b0>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, System.Boolean IsForEmbeddingInAnotherEntity) [0x0346c] in <da96ebf9a9e94842a3ca1d3b30d92a5c>: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 <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo.GetTextForEntity (Arcen.Universal.ArcenDoubleCharacterBuffer buffer, Arcen.AIW2.Core.GameEntity_Base EntityBase, Arcen.AIW2.Core.Fleet+Membership MembershipBase, Arcen.AIW2.Core.FromSidebarType IsFromSidebarType, System.Boolean IsForEmbeddingInAnotherEntity) [0x00000] in <da96ebf9a9e94842a3ca1d3b30d92a5c>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo+bPanel.GetTextToRender (Arcen.Universal.ArcenDoubleCharacterBuffer buffer) [0x00000] in <da96ebf9a9e94842a3ca1d3b30d92a5c>:0
  at Arcen.AIW2.External.Window_InGameHoverEntityInfo+bPanel.UpdateContentFromVolatile (Arcen.Universal.ArcenUIWrapperedUnityImage Image, Arcen.Universal.ArcenUI_Image+SubImageGroup _SubImages, Arcen.Universal.SubTextGroup _SubTexts) [0x00000] in <da96ebf9a9e94842a3ca1d3b30d92a5c>:0
  at Arcen.Universal.ArcenUI_ImageButton.OnUpdateVolatileDataFromMainThread () [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.Universal.ArcenUI_Window.OnUpdateVolatileDataFromMainThread () [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.Universal.ArcenUI.OnUpdateVolatileDataFromMainThread () [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at Arcen.Universal.Engine_Universal.OnUpdateFromMainThread () [0x00000] in <be5e1e9155ec4944b1ab6dd00d9f2b29>:0
  at ArcenGameController.Update () [0x00000] in <aa634ac2d9f649fa91fa4e27c157b37d>:0
TagsNo tags attached.

Activities

BadgerBadger

Jun 27, 2019 6:17 pm

manager   ~0051983

I added in some defensive code for the only obvious spot for a null reference

Issue History

Date Modified Username Field Change
Jun 22, 2019 8:07 pm BadgerBadger New Issue
Jun 22, 2019 8:07 pm BadgerBadger Status new => assigned
Jun 22, 2019 8:07 pm BadgerBadger Assigned To => Chris_McElligottPark
Jun 27, 2019 6:17 pm BadgerBadger Assigned To Chris_McElligottPark => BadgerBadger
Jun 27, 2019 6:17 pm BadgerBadger Status assigned => resolved
Jun 27, 2019 6:17 pm BadgerBadger Resolution open => fixed
Jun 27, 2019 6:17 pm BadgerBadger Fixed in Version => 0.872 Supply and Control
Jun 27, 2019 6:17 pm BadgerBadger Note Added: 0051983