POST
|
Hi Michael, I managed to get the dump file and loaded in Visual Studio. Here is the stack trace. [External Code] [Managed to Native Transition] Esri.ArcGISRuntime.dll!RuntimeCoreNet.GeneratedWrappers.CoreVector.Remove(long position) Unknown Esri.ArcGISRuntime.dll!Esri.ArcGISRuntime.RuntimeCollection<System.__Canon>.ExecuteActionWithUndo(System.Collections.Generic.Stack<System.Action> undoStack, System.Action action, System.Action undoAction) Unknown Esri.ArcGISRuntime.dll!Esri.ArcGISRuntime.RuntimeCollection<Esri.ArcGISRuntime.UI.Graphic>.SetItem(int index, Esri.ArcGISRuntime.UI.Graphic item) Unknown Esri.ArcGISRuntime.dll!Esri.ArcGISRuntime.RuntimeObservableCollection<Esri.ArcGISRuntime.UI.Graphic>.SetItem(int index, Esri.ArcGISRuntime.UI.Graphic item) Unknown > CadMap.exe!WpfCadMap.WpfMapControl.AddGraphicsOverlay(WpfCadMap.CfsMasterList itm, Esri.ArcGISRuntime.UI.GraphicsOverlay gpOverlay, string symbolPath) Line 2930 C# CadMap.exe!WpfCadMap.WpfMapControl.AddGraphicsOverlay(WpfCadMap.CfsMasterList itm) Line 2746 C# CadMap.exe!WpfCadMap.WpfMapControl.PlotAvlDisconnectList() Line 3113 C# CadMap.exe!WpfCadMap.WpfMapControl.GeoCodeCfsMasterList() Line 2348 C# CadMap.exe!WpfCadMap.WpfMapControl.DrawMapPoint() Line 1601 C# CadMap.exe!WpfCadMap.WpfMapControl.MapRefreshChangedWorker_RunWorkerCompleted(object sender, System.ComponentModel.RunWorkerCompletedEventArgs e) Line 355 C# System.dll!System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs e) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown [Native to Managed Transition] [External Code] [Managed to Native Transition] WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) Unknown PresentationFramework.dll!System.Windows.Application.RunDispatcher(object ignore) Unknown PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) Unknown CadMap.exe!WpfCadMap.App.Main() Unknown [Native to Managed Transition] [External Code]
... View more
11-12-2019
10:56 AM
|
0
|
0
|
12
|
POST
|
Hello All, I need to help to identify the issue with application crash randomly using runtime 100.5 and 100.6. I didn't have this issue when the app was using runtime 10.2.7. The application is processing addresses and coordinate data to display them on the map as graphics overlay. The data is coming almost every seconds as there is a change. I already set the rendering mode as static for all graphics overlay. The application randomly crashed on the production site. I was running for 4 or 5 hours then crashed. Here are the exception from Event Viewer. Faulting application name: MyMap.exe, version: 4.1.18.0, time stamp: 0x5d7a4914 Faulting module name: runtimecore.dll, version: 100.6.0.2513, time stamp: 0x5d570501 Exception code: 0xc0000005 Fault offset: 0x000000000156968d Faulting process id: 0x74 Faulting application start time: 0x01d5696ec7667b54 Faulting application path: C:\Program Files (x86)\Mapping\MyMap.exe Faulting module path: C:\Program Files (x86)\Mapping\arcgisruntime100.6\client64\runtimecore.dll Report Id: 3affd698-d5ae-11e9-bb16-fb9381a577cd Application: MyMap.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at RuntimeCoreNet.GeneratedWrappers.CoreVector.CoreRT_Vector_insert(IntPtr, Int64, IntPtr, IntPtr ByRef) at RuntimeCoreNet.GeneratedWrappers.CoreVector.Insert(Int64, RuntimeCoreNet.GeneratedWrappers.CoreElement) at Esri.ArcGISRuntime.RuntimeCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ExecuteActionWithUndo(System.Collections.Generic.Stack`1<System.Action>, System.Action, System.Action) at Esri.ArcGISRuntime.RuntimeCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetItem(Int32, System.__Canon) at Esri.ArcGISRuntime.RuntimeObservableCollection`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].SetItem(Int32, System.__Canon) at MyMapControl.AddGraphicsOverlay(MyList, Esri.ArcGISRuntime.UI.GraphicsOverlay, System.String) at MyMapControl.AddGraphicsOverlay(MyList) at MyMapControl.PlotMapPoint() at MyMapControl+<GeoCodeMyItem>d__187.MoveNext() at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon ByRef) at MyMapControl.GeoCodeMyItem() at MyMapControl.DrawMapPoint() at MyMapControl.MapRefreshChangedWorker_RunWorkerCompleted(System.Object, System.ComponentModel.RunWorkerCompletedEventArgs) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(System.ComponentModel.RunWorkerCompletedEventArgs) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at WpfCadMap.App.Main() I am not able to reproduce the problem. Thanks, Steven
... View more
09-13-2019
08:04 AM
|
0
|
12
|
657
|
POST
|
Hello All, I ran into an unhandled exception that related to security on Windows 10. Here are the exception that I captured. Description: The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security. Error Type: System.Security.SecurityException at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly, Boolean wantToCreate) at System.Diagnostics.EventLog.SourceExists(String source, String machineName, Boolean wantToCreate) at System.Diagnostics.EventLogInternal.VerifyAndCreateSource(String sourceName, String currentMachineName) at System.Diagnostics.EventLogInternal.WriteEvent(EventInstance instance, Byte[] data, Object[] values) at System.Diagnostics.EventLog.WriteEvent(EventInstance instance, Object[] values) at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args) at Esri.ArcGISRuntime.UI.Controls.GeoView.Esri.ArcGISRuntime.Internal.IDxSurfaceSource.OnDrawException(String intro, Exception ex) at Esri.ArcGISRuntime.UI.Controls.GeoView.<OnLoadedAsync>d__236.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Esri.ArcGISRuntime.UI.Controls.GeoView.<MapSurfaceElement_Loaded>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) When I run the application as administrator, it works. The application is working after the first run as administrator. We are using a Wpf application. The exception happened after page loaded event completed. Please let me know why it is causing it. I am using ArcGIS Runtime SDK for .NET version 100.5 Thanks, Steven
... View more
06-24-2019
08:56 AM
|
0
|
0
|
131
|
POST
|
Hello All, I ran into the application crash issue when I am converting our mapping application from using ArcGIS Runtime 10.2.7 to 100.5. The application is running for several hours. I was able to get the exception from the Application Logs. Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException at RuntimeCoreNet.GeneratedWrappers.CoreRequest.CoreRT_Request_handleResponse(IntPtr, Byte[], Int64, IntPtr, IntPtr ByRef) at RuntimeCoreNet.GeneratedWrappers.CoreRequest.HandleResponse(Byte[], RuntimeCoreNet.GeneratedWrappers.CoreClientReference) at Esri.ArcGISRuntime.Internal.RequestRequiredHandler+<IssueRequestAndRespond>d__14.MoveNext() at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[[Esri.ArcGISRuntime.Internal.RequestRequiredHandler+<IssueRequestAndRespond>d__14, Esri.ArcGISRuntime, Version=100.5.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86]](<IssueRequestAndRespond>d__14 ByRef) at Esri.ArcGISRuntime.Internal.RequestRequiredHandler.IssueRequestAndRespond(RuntimeCoreNet.GeneratedWrappers.CoreRequest) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() Steven
... View more
04-16-2019
03:36 PM
|
1
|
1
|
168
|
POST
|
Thank you very much for your help. I was able to get it integrate into our application.
... View more
04-01-2019
02:29 PM
|
1
|
0
|
2
|
POST
|
I found the old thread related to this but it was using the old version of arcgis runtime. Is there a way I can use this service https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer in the .NET app with the latest control?
... View more
03-14-2019
07:22 AM
|
0
|
2
|
96
|
POST
|
Hello Mike, Thank you very much for the reply. I saw the video about the vector map tiles. This is what we are looking for. Can we user ArcGIS Pro to generate the map tile in *.tpk that support ArcGIS Runtime for .Net desktop application?
... View more
09-11-2015
06:48 AM
|
0
|
0
|
10
|
POST
|
Is there a way to set the local tile to true night mode?
... View more
09-10-2015
07:10 PM
|
0
|
3
|
2961
|
POST
|
I worked with the analyst and we found out that the laptop had limitation the graphic controller and it is only supported OpenGL version 1.4. The analyst explained to me that we need OpenGL at least version 2.0 from the System requirement.
... View more
03-26-2015
04:10 PM
|
0
|
0
|
2
|
Online Status |
Offline
|
Date Last Visited |
11-16-2020
12:57 PM
|