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

RadMap throwing exception but unable to view details

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

     Hello,

 

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?

 

System.NullReferenceException

  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.Windows.Controls.DataVisualization
  StackTrace:
   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
0
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.

Regards,
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.
Asked by
Jerrod
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or