Main Menu

[SOLVED] CTD when trying to Connect

Started by HP_Exarkun, August 12, 2020, 05:11:06 AM

Previous topic - Next topic

HP_Exarkun

Hi Guys

When trying to connect TC crashes to desktop

have check checked all simconnects installed
Running P3d4.5hf3

Log entry as follows
Log Entry : 06:30:06 Wednesday, 12 August 2020
  :
  :Running Version: 0.3.1.2
-------------------------------

Log Entry : 06:30:06 Wednesday, 12 August 2020
  :
  :Perform Update-Check
-------------------------------
2020/08/12 06:30:07 - Online: 0.3.1.2
Load AIGFP Data
Database loaded
Files loaded

Log Entry : 06:44:46 Wednesday, 12 August 2020
  :
  :Connect to Sim
-------------------------------
Opened Simconnect


Event Viewer details

Application: AIGTech - Traffic Controller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException
   at System.Number.ParseDouble(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
   at AIGTech.TrafficController.Classes.Files.XMLFile_AirportInformation.readWayPointsNode(AIGTech.TrafficController.Classes.Files.XML_AirportInformation, System.Xml.XmlNode)
   at AIGTech.TrafficController.Classes.Files.XMLFile_AirportInformation.readAirportNode(System.Xml.XmlNode)
   at AIGTech.TrafficController.Classes.Files.XMLFile_AirportInformation.LoadFile(System.String)
   at AIGTech.TrafficController.Classes.Manager.Moduls.AirportManager.loadData()
   at AIGTech.TrafficController.Classes.Manager.TrafficManager..ctor(AIGTech.TrafficController.Controller.TCController)
   at AIGTech.TrafficController.Controller.TCController.ConnectToSim()
   at AIGTech.TrafficController.View.MainWindow.connectToV4(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
   at System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
   at System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
   at System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
   at System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, Int32, Int32, Int32)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at AIGTech.TrafficController.App.Main()

Thanks

Kaiii3

please check your <OCI>\Airports\AIGTC directory. Pack all xml files into a ZIP and upload it here

HP_Exarkun

Done

Out of interest. If I change my windows region to English(UK) Or English(US) then the TC Works, but If i change it back to English(South Africa) then the CTD occurs

Kaiii3


HP_Exarkun

Hi

We have a comma as our region's Decimal separator

Regards

HP_Exarkun

I am going to leave it on Uk Region settings for now on my side, as the only major difference is the decimal separator

Kaiii3

ok, I missed one converter ther in the code, will be fixed in the next update.

HP_Exarkun


Reinier2511

Maybe the decimal separator also explains why in my case the coordinates are not read correctly? I am running a Dutch version of Windows and therefore a comma as our region's Decimal separator


Kaiii3

could be, we will find out when I upload the update later today. I will try go the other reports fixed so I is all in one update