This is a migrated thread and some comments may be shown as answers.

RadMap throwing exception but unable to view details

1 Answer 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Jerrod asked on 02 Mar 2020, 04:53 PM



I have a RadMap that is throwing an exception which is putting my wpf application into 'break mode'. I am unable to locate where exactly the exception is occurring as it seems to be within the RadMap library. Any suggestions?



  Message=Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.Map.MapShapeData.SetLogicalWidth(Int32 zoomLevel)
   at Telerik.Windows.Controls.Map.MapShapeData.CalculateScreenGeometry(Int32 zoomLevel, Boolean raisePropertyChanged)
   at Telerik.Windows.Controls.Map.ShapeCoordinatesProcessor.StartProcessing(Object paramObject)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

1 Answer, 1 is accepted

Sort by
Vladimir Stoyanov
Telerik team
answered on 05 Mar 2020, 10:47 AM

Hello Jerrod,

Thank you for the provided call stack. 

I am afraid that it is difficult to tell what might be the reason for the described exception without being able to replicate it on my end. May I ask you to share a sample project demonstrating the scenario along with some sample steps, which I can follow on my end? This will hopefully allow me to reproduce the same behavior and investigate it. 

On a side note, you can open a new support ticket and attach a project in it, since project files cannot be attached to forum posts. 

Thank you in advance for any help you can provide.

Vladimir Stoyanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question