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

Plan-G stops working after "save" or "save as"

Started by phgvl, November 11, 2013, 03:35:27 PM

Previous topic - Next topic

phgvl

Hi,
My plan stops and crashes when saving my flightplan. Windows 7 64bit.
Below the windows error reports on "appcrash" "application" and ".net error"
----------------------------------------------------------------
Log Name:      Application
Source:        Application Error
Date:          11-11-2013 16:24:18
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      gerard-hp1
Description:
Faulting application name: Plan-G3.exe, version: 3.0.7.71, time stamp: 0x525a9d7a
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1116
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0xcc4
Faulting application start time: 0x01cedef1cbef751f
Faulting application path: D:\Plan-G\Plan-G3.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: 54969a35-4ae5-11e3-a7f5-001e0b32b871
------------------------------------------------------------------------
And more:
Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: plan-g3.exe
P2: 3.0.7.71
P3: 525a9d7a
P4: PresentationFramework
P5: 4.0.0.0
P6: 51eea94f
P7: b2e
P8: 53
P9: System.ArgumentException
P10:

Attached files:

These files may be available here:
C:\Users\gerard\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_plan-g3.exe_e2ee55afada3d22c62861f5d17f5c6f7f851646a_0b6d9444

Analysis symbol:
Rechecking for solution: 0
Report Id: 54969a35-4ae5-11e3-a7f5-001e0b32b871
Report Status: 0
-----------------------------------------------------------------------------------------------------
And the .net error:

Application: Plan-G3.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at MS.Internal.AppModel.ShellUtil.GetShellItemForPath(System.String)
   at Microsoft.Win32.FileDialog.PrepareVistaDialog(MS.Internal.AppModel.IFileDialog)
   at Microsoft.Win32.FileDialog.RunVistaDialog(IntPtr)
   at Microsoft.Win32.FileDialog.RunDialog(IntPtr)
   at Microsoft.Win32.CommonDialog.ShowDialog()
   at Plan_G3.MainWindow.<.ctor>b__3(GalaSoft.MvvmLight.Messaging.NotificationMessageAction`1<System.String>)
   at GalaSoft.MvvmLight.Helpers.WeakAction`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Execute(System.__Canon)
   at GalaSoft.MvvmLight.Helpers.WeakAction`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].ExecuteWithObject(System.Object)
   at GalaSoft.MvvmLight.Messaging.Messenger.SendToList[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.Collections.Generic.IEnumerable`1<WeakActionAndToken>, System.Type, System.Object)
   at GalaSoft.MvvmLight.Messaging.Messenger.SendToTargetOrType[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.Type, System.Object)
   at GalaSoft.MvvmLight.Messaging.Messenger.Send[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon)
   at Plan_G3.ViewModel.MainViewModel.SaveFlightPlan_Executed(Plan_G3.Model.FlightPlanFileType)
   at Plan_G3.ViewModel.MainViewModel.<.ctor>b__2f()
   at GalaSoft.MvvmLight.Command.RelayCommand.Execute(System.Object)
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(System.Windows.Input.ICommandSource, Boolean)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at Fluent.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   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.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
   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.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
   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 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
   at System.Windows.Threading.Dispatcher.InvokeImpl(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.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
   at System.Windows.Application.RunDispatcher(System.Object)
   at System.Windows.Application.RunInternal(System.Windows.Window)
   at System.Windows.Application.Run(System.Windows.Window)
   at Plan_G3._Main.Main()

phgvl

I just found a strange line in plan-g_log.txt: there is no user Tim on my system...  :)

20:41:15.3 getWxDataWorker: System.Net.WebException: Unable to connect to the remote server
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadData(Uri address)
   at System.Net.WebClient.DownloadData(String address)
   at Plan_G3.Model.WebWx.getWxDataWorker(String url, String fileName) in C:\Users\Tim\Documents\Visual Studio 2010\Projects\Plan-G3\Plan-G3\Model\WebWx.cs:line 265
20:41:15.4 Metar19Z.TXT done
20:41:15.4 DownloadCurrentMetars done
20:41:15.8 ProcessMetars done
20:43:22.6 _Backstage_IsOpenChanged: False

phgvl

I have solved it myself. Fisrt  I uninstalled .net framework 4.0. Then installed 4.5. (problem still excisting) then I ran MS Update: installed 9 4.5 updates: problem solved.
thanks any way.
Mayby this helps others...  8)

FlyingAxx

Quote from: gerardval on November 11, 2013, 10:10:45 PM
I have solved it myself. Fisrt  I uninstalled .net framework 4.0. Then installed 4.5. (problem still excisting) then I ran MS Update: installed 9 4.5 updates: problem solved.
thanks any way.
Mayby this helps others...  8)

Did you say that Plan-G runs under .NET 4.5 after you have updated this environment? If so, could someone confirm this? That would be really ...  :cool2:
Regards,
Axel

w9nwrwi

I would like to know the same about .net framework.  MS wants to update my computer with .net  framework version 4.5.1. and I am reluctant to do so.
Anyone  to comment on 4.5.1 working with Plan-G.?

thanks,
Chuck
Computer:
CPU:i7-6700 4.0GHz, Ram:32GB,  Video.Card: GTX 1070 8Gb, OS:Win 10, 3ea 24" HDMI Widescreen.
X-Plane 11

n3306tx

I installed PlanG ver 3.0.7.71 and had dot.net 4.0 (with all updates) and Plan G would not run.  Always crashed on start-up.  So I upgraded to dot.net 4.5.1.  Yea!...PlanG runs...until I went to save a plan and PlanG hangs and crashes every time.  I've yet to have one successful install of PlanG version 3 without some annoying problem that constantly crashes the program.  PlanG ver 2, albeit not as many features, worked much better, rarely crashed and the Google maps also looked much better.  I'm running Windows 7 64-bit with 16MB ram.