RadMap throwing exception but unable to view details

2 posts, 0 answers
  1. Jerrod
    Jerrod avatar
    1 posts
    Member since:
    Feb 2019

    Posted 02 Mar Link to this post

         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()

  2. Vladimir Stoyanov
    Admin
    Vladimir Stoyanov avatar
    657 posts

    Posted 05 Mar Link to this post

    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.
Back to Top