Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Map: Measure Mode - SLX Crash - Not working as described

Featured Replies

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

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

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • Author

Hi Maarten,

sure we use the same program version?

uysrlpfl.jpg

 

Icons before activation:

3zjn67zz.jpg

 

Icons after activation:

5n5d646p.jpg

 

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:

 

nvylau4z.jpg 5n8crkuk.jpg uuylc5xi.jpg
 

Greetings, Walter

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

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • Author

Hi Maarten,
 

here it is:

 

20150207181552 INFO Program started
20150207181552 INFO User.config file: C:\Users\xxx\AppData\Local\Maarten_Boelens\SimLauncherX.exe_Url_g34qtyxvsh4mpsygnigtw2rya50a2naq\1.1.5510.5198\user.config
20150207181552 INFO Isolated storage: C:\Users\xxx\AppData\Local\IsolatedStorage\ci3wvzhc.rm3\veeh3lnx.kf1\Url.rkmgi3kvdgxsxdndlixaka0ozaxmrjs5\AssemFiles\
20150207181552 INFO SLX version: 1.1.5510.5198
20150207181552 INFO SLX installation folder: D:\FluSi\SimLauncherX
20150207181553 INFO CPU: Intel® Core i5 CPU 750 @ 2.67GHz
20150207181553 INFO Maximum clock speed 2960 MHz
20150207181553 INFO Number of processors: 1
20150207181553 INFO Number of logical processors: 4
20150207181553 INFO OS version: Microsoft Windows 7 Ultimate
20150207181553 INFO OS version number: Microsoft Windows NT 6.1.7601 Service Pack 1
20150207181553 INFO Is 64 bit operating system? yes
20150207181553 INFO Total physical memory: 8581013504
20150207181553 INFO User name: xxx
20150207181553 INFO Account used to run SLX: BLACKADDER\xxx
20150207181553 INFO Running as administrator? yes
20150207181606 TRACE Loading simulator settings
20150207181606 INFO Simulator: FSX
20150207181606 INFO Installed: no
20150207181606 INFO Simulator: Prepar3D
20150207181606 INFO Installed: yes
20150207181606 INFO Prepar3D v2: yes
20150207181606 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 Files
20150207181606 TRACE Loading profiles
20150207181606 INFO Profiles loaded
20150207181606 TRACE Saving profiles
20150207181606 TRACE No command line argument
20150207181606 TRACE Adding basic Prepar3D settings to Default Prepar3D profile
20150207181606 TRACE Prepar3D machine on line
20150207181606 TRACE Cleaning up FSX settings
20150207181606 TRACE Cleaning up Prepar3D settings
20150207181606 TRACE Setting FTX regions for Prepar3D
20150207181606 TRACE Adding remaining Prepar3D settings to Default Prepar3D profile
20150207181606 TRACE Setting default Prepar3D flight
20150207181606 TRACE Current default flight: c:\users\xxx\documents\prepar3d v2 files\mydefault.flt
20150207181606 TRACE Validating profile: Default Prepar3D profile
20150207181607 TRACE Profiles updated
20150207181607 TRACE Changing current profile to: Default Prepar3D profile
20150207181607 TRACE Profile changing: clearing flights
20150207181607 TRACE Profile changing: clearing flight plans
20150207181607 TRACE Loading scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg
20150207181612 TRACE Processing scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg
20150207181612 TRACE Collecting 180 scenery layers
20150207181612 TRACE Scenery.cfg file C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg loaded
20150207181612 TRACE Validating profile: Default Prepar3D profile
20150207181612 TRACE Saving profiles
20150207181612 INFO Profile changed to: Default Prepar3D profile
20150207181612 INFO Profile: Default Prepar3D profile
20150207181612 INFO flights folder: C:\Users\xxx\Documents\Prepar3D v2 Files
20150207181612 INFO flight plans folder: C:\Users\xxx\Documents\Prepar3D v2 Files
20150207181612 INFO configuration file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\Prepar3D.cfg
20150207181612 INFO scenery.cfg file: C:\ProgramData\Lockheed Martin\Prepar3D v2\scenery.cfg
20150207181612 INFO dll.xml file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\dll.xml
20150207181612 INFO exe.xml file: C:\Users\xxx\AppData\Roaming\Lockheed Martin\Prepar3D v2\exe.xml
20150207181612 INFO startup program: D:\FluSi\P3Dv2\Prepar3D.exe
20150207181612 INFO startup program accepts flight: yes
20150207181612 INFO FTX region: Do not change
20150207181612 INFO check for new aircraft: yes
20150207181612 INFO reset 'TEXTURE_MAX_LOAD' to: Do not reset
20150207181612 INFO reset 'LOD_RADIUS' to: 0
20150207181612 INFO reset window mode to: Do not reset
20150207181612 INFO joysticks: Do not change
20150207181612 INFO add EZdok universal cameras: no
20150207181612 INFO use CPU0 when connected: no
20150207181612 TRACE Database file C:\Users\xxx\Documents\SimLauncherX\SimLauncherX.Prepar3D.sdf exists
20150207181616 INFO Nr of airports: 24673
20150207181616 TRACE Detecting new aircraft
20150207181616 WARN Directory not found: D:\FluSi\P3Dv2\SimObjects\Weapons
20150207181616 WARN Directory not found: D:\FluSi\P3Dv2\SimObjects\Countermeasures
20150207181619 TRACE No new aircraft found
20150207181619 INFO Nr of non-AI aircraft types: 87
20150207181619 INFO Nr of AI aircraft types: 348
20150207181619 INFO Nr of aircraft variations: 6824
20150207181619 INFO Detecting new aircraft took: 3073 msec
20150207181619 TRACE Weather themes updated
20150207181619 INFO Prepar3D database loaded or created in 6 seconds
20150207181619 TRACE Initializing SimConnect Prepar3D service
20150207181619 TRACE SimConnect Prepar3D service initialized
20150207181620 TRACE Loading 40 flights from folder: C:\Users\xxx\Documents\Prepar3D v2 Files
20150207181620 TRACE Error loading flight: C:\Users\xxx\Documents\Prepar3D v2 Files\C-130 @ Vejers Beach, Denmark SimLauncher.flt
20150207181620 TRACE Flight C:\Users\xxx\Documents\Prepar3D v2 Files\C-130 @ Vejers Beach, Denmark SimLauncher.flt could not be loaded
20150207181621 TRACE Looking for FTX airports
20150207181621 TRACE FTX airports set
20150207181622 TRACE Current flight set to: C:\Users\xxx\Documents\Prepar3D v2 Files\MyDefault.flt
20150207181622 TRACE Saving profiles
20150207181622 INFO 39 flights loaded
20150207181623 TRACE Loading 3 flight plans from folder: C:\Users\xxx\Documents\Prepar3D v2 Files
20150207181623 TRACE Setting current flight plan to 33VA to KMVY
20150207181623 TRACE Validating flight plan 33VA to KMVY
20150207181623 TRACE Flight plan 33VA to KMVY has no errors
20150207181623 TRACE Current flight plan set to 33VA to KMVY
20150207181623 TRACE Saving profiles
20150207181623 INFO 3 flight plans loaded
20150207181623 TRACE Getting locations for 496 elevation points and 19 waypoints
20150207181624 TRACE Cannot find world cameras file: C:\Users\xxx\AppData\Roaming\EZCA\db\world\world_cameras.INI
20150207181624 TRACE Elevations set
20150207181631 TRACE NOAA METARs downloaded
20150207181631 TRACE NOAA weather stations loaded
20150207181634 TRACE NOAA weather updated
20150207181701 TRACE delta lat 0, delta lon 0
20150207181706 TRACE delta lat 0, delta lon 0
20150207181713 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

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

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • 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

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

ftx_supporter_avsim.gifC172Siggy1_zps11944daf.jpg

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.