News:

Buying something from Amazon? Please consider using my affiliate links - Amazon.com or Amazon.co.uk - You get your stuff, Plan-G gets a little boost :)   

Main Menu

Crash while zooming

Started by DZiral, July 20, 2014, 10:53:44 AM

Previous topic - Next topic

DZiral

Plan-g3 crashing when zoom to Moscow, Russian Federation. I check windows logs and found this
QuoteПриложение: Plan-G3.exe Версия платформы: v4.0.30319 Описание. Процесс был завершен из-за необработанного исключения. Сведения об исключении: System.IndexOutOfRangeException Стек: в Plan_G3.Model.UTIL.Morse(System.String) в Plan_G3.ViewModel.MainViewModel.DisplayNDBMarkers(Double, Double, Double, Double) в Plan_G3.ViewModel.MainViewModel.updateMarkers() в Plan_G3.ViewModel.MainViewModel.MapZoomChanged(Int32) в Plan_G3.MainWindow.MainMap_OnMapZoomChanged() в GMap.NET.MapZoomChanged.Invoke() в GMap.NET.Internals.Core.set_Zoom(Int32) в GMap.NET.WindowsPresentation.GMapControl.ZoomPropertyChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs) в System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) в System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs) в System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs) в System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) в System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) в System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) в GMap.NET.WindowsPresentation.GMapControl.OnMouseWheel(System.Windows.Input.MouseWheelEventArgs) в System.Windows.UIElement.OnMouseWheelThunk(System.Object, System.Windows.Input.MouseWheelEventArgs) в System.Windows.Input.MouseWheelEventArgs.InvokeEventHandler(System.Delegate, System.Object) в System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object) в System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs) в System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean) в System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs) в System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs) в System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean) в System.Windows.Input.InputManager.ProcessStagingArea() в System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs) в System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport) в System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32) в System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) в System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) в MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) в MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) в System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) в MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) в System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) в MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) в MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) в System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) в System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame) в System.Windows.Threading.Dispatcher.Run() в System.Windows.Application.RunDispatcher(System.Object) в System.Windows.Application.RunInternal(System.Windows.Window) в System.Windows.Application.Run(System.Windows.Window) в Plan_G3._Main.Main()
Look like one of NDBs in this region parsed incorrectly and plan-g3 crashed trying to display it. After uncheck option to show NDBs program works fine, but no NDBs on map of course.
I use database for X-Plane 10 and Plan g3 version 3.1.1.93

tim arnot


Tim. @TimArnot

tim arnot

Okay, it looks like a localization issue, so hopefully it should be fixed in build 94.

Tim. @TimArnot

DZiral

Build 94 work fine. Thanks.

tim arnot


Tim. @TimArnot