Hi,
I am developing a Silverlight application with a RadMap on a Navigation page. All is well, until I navigate away from the page, at which point I get a stack overflow exception, which, upon getting the Call Stack I have discovered there is an infinite loop occurring with the map on the page I have navigated away from, changing its center location repeatedly until the stack overflow.
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
The maximum number of stack frames supported by Visual Studio has been exceeded.
Please help, I've spent a whole day trying to debug this and I can't get anywhere. My fellow developer is still using the Q3 2010 release and this problem does not occur. He's now just upgraded to the Q1 2011 release and the same issue.
I am developing a Silverlight application with a RadMap on a Navigation page. All is well, until I navigate away from the page, at which point I get a stack overflow exception, which, upon getting the Call Stack I have discovered there is an infinite loop occurring with the map on the page I have navigated away from, changing its center location repeatedly until the stack overflow.
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Center.set(Telerik.Windows.Controls.Map.Location value) + 0x62 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnGeoBoundsChanged() + 0xd6 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.Resize() + 0x450 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.OnCenterChanged(Telerik.Windows.Controls.Map.Location oldCenter, Telerik.Windows.Controls.Map.Location newCenter) + 0x53 bytes
Telerik.Windows.Controls.DataVisualization!Telerik.Windows.Controls.RadMap.CenterChangedHandler(System.Windows.DependencyObject source, System.Windows.DependencyPropertyChangedEventArgs eventArgs) + 0xcd bytes
Telerik.Windows.Controls!Telerik.Windows.PropertyMetadata.Create.AnonymousMethod__0(System.Windows.DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e) + 0x283 bytes
System.Windows.dll!System.Windows.DependencyObject.RaisePropertyChangeNotifications(System.Windows.DependencyProperty dp, object oldValue, object newValue) + 0x51 bytes
System.Windows.dll!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.DependencyProperty property, System.Windows.EffectiveValueEntry oldEntry, ref System.Windows.EffectiveValueEntry newEntry, System.Windows.DependencyObject.ValueOperation operation) + 0xf6 bytes
System.Windows.dll!System.Windows.DependencyObject.SetValueInternal(System.Windows.DependencyProperty dp, object value, bool allowReadOnlySet) + 0x2ad bytes
System.Windows.dll!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty dp, object value) + 0xb bytes
The maximum number of stack frames supported by Visual Studio has been exceeded.
Please help, I've spent a whole day trying to debug this and I can't get anywhere. My fellow developer is still using the Q3 2010 release and this problem does not occur. He's now just upgraded to the Q1 2011 release and the same issue.