February 7, 201511 yr Hi Maarten, i just tried the measure mode on the map tab. At first it differs a little bit from your GIANT user guide on page 110. There is no Stop-Button as described, only the toggle named "Start". The 1. Bug is: You switch into measure mode and then draw some lines into the map. Then you hit ESC and "Clear" and get an alert "Object reference not set....". You press the OK-Button and SLX will close. The other: You switch to measure mode, draw some lines and hit ESC. Then press the "Start" Button to end the measure mode. This works OK, but the just drawn lines were cleared. Greetings, Walter
February 7, 201511 yr Hi Walter, The 'Start' button turns into a 'Stop' button after you click on it. The crash doesn't happen on my machine. Please send me an e-mail with the [Documents]\SimLauncherX.log file attached right after the crash happens and before you start SLX again (otherwise the log file will be overwritten). You can find my e-mail address on the front page of the user guide. You can only perform one measurement at a time. If you click on 'Stop', SLX will leave measurement mode and the measurement line is cleared. If you want to keep the measurement line on screen, just press ESC and continue on with other activities: dragging the map around is still possible, but once you left click, another leg is added to the measurement line, which you can always remove again with the Backspace key. thanks, Maarten Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
February 7, 201511 yr Author Hi Maarten, sure we use the same program version? Icons before activation: Icons after activation: You see, there is no Stop button. Here the content of SimLauncherX.log from the first error: 20150207172239 FATAL Fatal error "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at MaartenBoelens.SimLauncherX.Views.MapView.<.ctor>b__7(ClearMeasureLineMessage message)--- End of inner exception stack trace ---at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)at GalaSoft.MvvmLight.Messaging.Messenger.SendToList[TMessage](TMessage message, IEnumerable`1 weakActionsAndTokens, Type messageTargetType, Object token)at GalaSoft.MvvmLight.Messaging.Messenger.SendToTargetOrType[TMessage](TMessage message, Type messageTargetType, Object token)at GalaSoft.MvvmLight.Messaging.Messenger.Send[TMessage](TMessage message)--- End of inner exception stack trace ---at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)at System.Windows.Controls.Button.OnClick()at Telerik.Windows.Controls.RadButton.OnClick()at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)" You wrote "You can only perform one measurement at a time. ". Then i can show you a secret feature of your program: Greetings, Walter
February 7, 201511 yr Hi Walter, I know now where the error occurs and I can prevent the crash. The same issue is also the cause of the text of the 'Start' button not updating. I need the complete log file to be able to get to the root cause of the issue. thanks, Maarten Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
February 7, 201511 yr Author Hi Maarten, here it is: 20150207181552 INFO Program started20150207181552 INFO User.config file: C:\Users\xxx\AppData\Local\Maarten_Boelens\SimLauncherX.exe_Url_g34qtyxvsh4mpsygnigtw2rya50a2naq\1.1.5510.5198\user.config20150207181552 INFO Isolated storage: C:\Users\xxx\AppData\Local\IsolatedStorage\ci3wvzhc.rm3\veeh3lnx.kf1\Url.rkmgi3kvdgxsxdndlixaka0ozaxmrjs5\AssemFiles\20150207181552 INFO SLX version: 1.1.5510.519820150207181552 INFO SLX installation folder: D:\FluSi\SimLauncherX20150207181553 INFO CPU: Intel® Core i5 CPU 750 @ 2.67GHz20150207181553 INFO Maximum clock speed 2960 MHz20150207181553 INFO Number of processors: 120150207181553 INFO Number of logical processors: 420150207181553 INFO OS version: Microsoft Windows 7 Ultimate20150207181553 INFO OS version number: Microsoft Windows NT 6.1.7601 Service Pack 120150207181553 INFO Is 64 bit operating system? yes20150207181553 INFO Total physical memory: 858101350420150207181553 INFO User name: xxx20150207181553 INFO Account used to run SLX: BLACKADDER\xxx20150207181553 INFO Running as administrator? yes20150207181606 TRACE Loading simulator settings20150207181606 INFO Simulator: FSX20150207181606 INFO Installed: no20150207181606 INFO Simulator: Prepar3D20150207181606 INFO Installed: yes20150207181606 INFO Prepar3D v2: yes20150207181606 INFO installation folder: D:\FluSi\P3Dv2\20150207181606 INFO configuration folder: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\20150207181606 INFO data folder: C:\ProgramData\Lockheed Martin\Prepar3D v2\20150207181606 INFO documents folder: C:\Users\xxx\Documents\Prepar3D v2 Files20150207181606 TRACE Loading profiles20150207181606 INFO Profiles loaded20150207181606 TRACE Saving profiles20150207181606 TRACE No command line argument20150207181606 TRACE Adding basic Prepar3D settings to Default Prepar3D profile20150207181606 TRACE Prepar3D machine on line20150207181606 TRACE Cleaning up FSX settings20150207181606 TRACE Cleaning up Prepar3D settings20150207181606 TRACE Setting FTX regions for Prepar3D20150207181606 TRACE Adding remaining Prepar3D settings to Default Prepar3D profile20150207181606 TRACE Setting default Prepar3D flight20150207181606 TRACE Current default flight: c:\users\xxx\documents\prepar3d v2 files\mydefault.flt20150207181606 TRACE Validating profile: Default Prepar3D profile20150207181607 TRACE Profiles updated20150207181607 TRACE Changing current profile to: Default Prepar3D profile20150207181607 TRACE Profile changing: clearing flights20150207181607 TRACE Profile changing: clearing flight plans20150207181607 TRACE Loading scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg20150207181612 TRACE Processing scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg20150207181612 TRACE Collecting 180 scenery layers20150207181612 TRACE Scenery.cfg file C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg loaded20150207181612 TRACE Validating profile: Default Prepar3D profile20150207181612 TRACE Saving profiles20150207181612 INFO Profile changed to: Default Prepar3D profile20150207181612 INFO Profile: Default Prepar3D profile20150207181612 INFO flights folder: C:\Users\xxx\Documents\Prepar3D v2 Files20150207181612 INFO flight plans folder: C:\Users\xxx\Documents\Prepar3D v2 Files20150207181612 INFO configuration file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\Prepar3D.cfg20150207181612 INFO scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg20150207181612 INFO dll.xml file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\dll.xml20150207181612 INFO exe.xml file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\exe.xml20150207181612 INFO startup program: D:\FluSi\P3Dv2\Prepar3D.exe20150207181612 INFO startup program accepts flight: yes20150207181612 INFO FTX region: Do not change20150207181612 INFO check for new aircraft: yes20150207181612 INFO reset 'TEXTURE_MAX_LOAD' to: Do not reset20150207181612 INFO reset 'LOD_RADIUS' to: 020150207181612 INFO reset window mode to: Do not reset20150207181612 INFO joysticks: Do not change20150207181612 INFO add EZdok universal cameras: no20150207181612 INFO use CPU0 when connected: no20150207181612 TRACE Database file C:\Users\xxx\Documents\SimLauncherX\SimLauncherX.Prepar3D.sdf exists20150207181616 INFO Nr of airports: 2467320150207181616 TRACE Detecting new aircraft20150207181616 WARN Directory not found: D:\FluSi\P3Dv2\SimObjects\Weapons20150207181616 WARN Directory not found: D:\FluSi\P3Dv2\SimObjects\Countermeasures20150207181619 TRACE No new aircraft found20150207181619 INFO Nr of non-AI aircraft types: 8720150207181619 INFO Nr of AI aircraft types: 34820150207181619 INFO Nr of aircraft variations: 682420150207181619 INFO Detecting new aircraft took: 3073 msec20150207181619 TRACE Weather themes updated20150207181619 INFO Prepar3D database loaded or created in 6 seconds20150207181619 TRACE Initializing SimConnect Prepar3D service20150207181619 TRACE SimConnect Prepar3D service initialized20150207181620 TRACE Loading 40 flights from folder: C:\Users\xxx\Documents\Prepar3D v2 Files20150207181620 TRACE Error loading flight: C:\Users\xxx\Documents\Prepar3D v2 Files\C-130 @ Vejers Beach, Denmark SimLauncher.flt20150207181620 TRACE Flight C:\Users\xxx\Documents\Prepar3D v2 Files\C-130 @ Vejers Beach, Denmark SimLauncher.flt could not be loaded20150207181621 TRACE Looking for FTX airports20150207181621 TRACE FTX airports set20150207181622 TRACE Current flight set to: C:\Users\xxx\Documents\Prepar3D v2 Files\MyDefault.flt20150207181622 TRACE Saving profiles20150207181622 INFO 39 flights loaded20150207181623 TRACE Loading 3 flight plans from folder: C:\Users\xxx\Documents\Prepar3D v2 Files20150207181623 TRACE Setting current flight plan to 33VA to KMVY20150207181623 TRACE Validating flight plan 33VA to KMVY20150207181623 TRACE Flight plan 33VA to KMVY has no errors20150207181623 TRACE Current flight plan set to 33VA to KMVY20150207181623 TRACE Saving profiles20150207181623 INFO 3 flight plans loaded20150207181623 TRACE Getting locations for 496 elevation points and 19 waypoints20150207181624 TRACE Cannot find world cameras file: C:\Users\xxx\AppData\Roaming\EZCA\db\world\world_cameras.INI20150207181624 TRACE Elevations set20150207181631 TRACE NOAA METARs downloaded20150207181631 TRACE NOAA weather stations loaded20150207181634 TRACE NOAA weather updated20150207181701 TRACE delta lat 0, delta lon 020150207181706 TRACE delta lat 0, delta lon 020150207181713 FATAL Fatal error "System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.at MaartenBoelens.SimLauncherX.Views.MapView.<.ctor>b__7(ClearMeasureLineMessage message)--- End of inner exception stack trace ---at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)at GalaSoft.MvvmLight.Messaging.Messenger.SendToList[TMessage](TMessage message, IEnumerable`1 weakActionsAndTokens, Type messageTargetType, Object token)at GalaSoft.MvvmLight.Messaging.Messenger.SendToTargetOrType[TMessage](TMessage message, Type messageTargetType, Object token)at GalaSoft.MvvmLight.Messaging.Messenger.Send[TMessage](TMessage message)--- End of inner exception stack trace ---at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)at System.Windows.Controls.Button.OnClick()at Telerik.Windows.Controls.RadButton.OnClick()at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)at System.Windows.Input.InputManager.ProcessStagingArea()at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)" Greetings, Walter
February 7, 201511 yr Hi Walter, If you don't want to send me an e-mail, it will be difficult for me to solve the issue. Please check the new version that I will release later this evening and see if you still have an issue with the measure feature. thanks, Maarten Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
February 8, 201511 yr Author Hi Maarten, i just sent you the mail. I have tested SLX with a fresh Win7 account, the behaviour of the program is just like you said. Everything is alright. Made a different test, i only started SLX and then i closed it. I got no error but in the logfile i found the following: 20150208100923 TRACE Error cleaning up: "System.IO.IOException: The process cannot access the file 'C:\Users\xxx\AppData\Local\Temp\SimLauncherX.000' because it is being used by another process.at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)at System.IO.File.InternalDelete(String path, Boolean checkHost)at System.Collections.Generic.List`1.ForEach(Action`1 action)at MaartenBoelens.SimLauncherX.ViewModel.MainViewModel.Cleanup()" Thanks, Walter
February 8, 201511 yr Hi Walter, Good to hear it's working now. Please also check the new version I just released. I included some extra logging, so if the problem reappears, please send me the log file again. The error message in your last log file is not a problem: it's just a temporary file that could not be deleted. You can manually delete all SimLauncherX.* files from your temp folder if you like. thanks, Maarten Maarten Boelens ([m][a:][R][t][ʏ][n]) Developer of SimLauncherX
February 8, 201511 yr Author Hi Maarten, it didn't work with my normal account, but it doesn't matter anymore because your new release is working as it should. Everything fine so far. Thanks again for your quick support and response, Walter
Create an account or sign in to comment