AnsweredAssumed Answered

AccessViolationException in Graphic.ZIndex_get

Question asked by tlp@cvation.com on Jun 11, 2018
Latest reply on Jun 12, 2018 by mnielsen-esristaff

Hi, does anybody else get this exception?

 

my workaround is to try/catch around it, but I'd prefer runtime to not throw it...

 

Exception Info: System.AccessViolationException
at RuntimeCoreNet.GeneratedWrappers.CoreGraphic.CoreRT_Graphic_getZIndex(IntPtr, IntPtr ByRef)
at RuntimeCoreNet.GeneratedWrappers.CoreGraphic.get_ZIndex()
at WorkBridge.Modules.Equipment.Cli.EquipmentMap.GraphicsDeltaFinder.SameGraphic(Esri.ArcGISRuntime.UI.Graphic, Esri.ArcGISRuntime.UI.Graphic)
at WorkBridge.Modules.Equipment.Cli.EquipmentMap.GraphicsDeltaFinder.GetGraphicsToUpdate(System.Collections.Generic.IDictionary`2<System.String,Esri.ArcGISRuntime.UI.Graphic>, System.Collections.Generic.IDictionary`2<System.String,Esri.ArcGISRuntime.UI.Graphic>)

 

Cheers,

Thomas

Outcomes