csouzaimg-com-br-esridist

Runtime 10.2 WPF - Snapping functions

Discussion created by csouzaimg-com-br-esridist Employee on Nov 11, 2013
Latest reply on Nov 18, 2013 by dlednik-esristaff
Hi

We are having problem with snapping functions in new 10.2 version yet. When I click on Control to enable snapping and move mouse, the red circle is displayed but I got AccessViolationException. This is happens in samples too, as Editor Widget or Editor Widget OnLine for example.

Someone else got the same error?

Thanks

Cristian

ps.: In event viewer I have the message below.

Aplicativo: SampleApplication.exe
Versão do Framework: v4.0.30319
Descrição: O processo foi terminado devido a uma exceção sem tratamento.
Informações da Exceção: System.AccessViolationException
Pilha:
   em ESRI.ArcGIS.Client.NativeGraphicsLayerMethods.HitTest(IntPtr, IntPtr, Int32, Int32, Int32, Int32, Int32, Int32 ByRef, ESRI.ArcGIS.Client.NativeByteBuffer ByRef)
   em ESRI.ArcGIS.Client.NativeGraphicsLayerMethods.HitTest(IntPtr, IntPtr, Int32, Int32, Int32, Int32, Int32, Int32 ByRef, ESRI.ArcGIS.Client.NativeByteBuffer ByRef)
   em ESRI.ArcGIS.Client.Runtime.NativeGraphicsLayer+<PickIds>d__20.MoveNext()
   em System.Collections.Generic.List`1[[System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]..ctor(System.Collections.Generic.IEnumerable`1<Int64>)
   em ESRI.ArcGIS.Client.Runtime.MapPulseThread.HitTestLayer(ESRI.ArcGIS.Client.Runtime.IHittableNativeLayer, Int32, Int32, Int32, Int32, Int32)
   em ESRI.ArcGIS.Client.Runtime.MapPulseThread.HitTestLayers(System.Collections.Generic.IEnumerable`1<ESRI.ArcGIS.Client.Runtime.IHittableNativeLayer>, Int32, Int32, System.Windows.Point, Double, Double, Int32, Double)
   em ESRI.ArcGIS.Client.Runtime.MapPulseThread.ProcessHitTests(Int32, Int32, Double)
   em ESRI.ArcGIS.Client.Runtime.MapPulseThread.ThreadProc()
   em System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   em System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   em System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   em System.Threading.ThreadHelper.ThreadStart()

Outcomes