My game crashed when I was trying to save it, and now i cannot load the save game.
Here is my log
Thanks!
Here is my log
Quote:Game time: 19-08-17 오전 12:00:00
Version: Version 2.14 Patch F (Alpha)
19-09-26: 오후 9:45 System.NullReferenceException: 並未將物件參考設定為物件的執行個體。
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.AirlinerClassesConverter.<>c.<ConvertTo>b__7_0(FacilityOptionType o) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\AirlinerClassesConverter.cs: 行 159
於 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
於 System.String.Join(String separator, IEnumerable`1 values)
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.AirlinerClassesConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\AirlinerClassesConverter.cs: 行 159
於 System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType)
於 SQLiter.SQLiter.getPropertyValue(Object type, PropertyInfo property) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs: 行 450
於 SQLiter.SQLiter.SaveAll[T](IEnumerable`1 data) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs: 行 175
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.SaveGame(SaveFile save) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs: 行 376
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.saveGame(SaveFile savefile) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs: 行 244
於 TheAirlineProjectV2.Modules.GameSideMenu.ViewModels.GameSideMenuViewModel.MenuItemClicked(Object o) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.GameSideMenu\ViewModels\GameSideMenuViewModel.cs: 行 224
於 Prism.Commands.DelegateCommand`1.Execute(T parameter)
於 Prism.Commands.DelegateCommand`1.Execute(Object parameter)
於 Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
於 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
於 System.Windows.Documents.Hyperlink.OnClick()
於 System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender)
於 System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender)
於 System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
於 System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e)
於 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
於 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
於 System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args)
於 System.Windows.Input.InputManager.ProcessStagingArea()
於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
於 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
於 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
於 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
於 System.Windows.Application.RunDispatcher(Object ignore)
於 System.Windows.Application.RunInternal(Window window)
於 System.Windows.Application.Run(Window window)
於 System.Windows.Application.Run()
於 TheAirlineProjectV2.App.Main()
Game time: 01-01-01 오전 12:00:00
Version: Version 2.14 Patch F (Alpha)
19-09-26: 오후 9:45 code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
no such table: SubsidiaryAirline
於 System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
於 System.Data.SQLite.SQLiteCommand.BuildNextCommand()
於 System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
於 System.Data.SQLite.SQLiteDataReader.NextResult()
於 System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
於 System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
於 System.Data.SQLite.SQLiteCommand.ExecuteReader()
於 SQLiter.SQLiter.GetTable[T]() 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs: 行 321
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.LoadGame(String filename) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs: 行 86
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.loadGame(String filename) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs: 行 239
於 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs: 行 844
於 Prism.Commands.DelegateCommand.Execute()
於 Prism.Commands.DelegateCommand.Execute(Object parameter)
於 Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
於 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
於 System.Windows.Controls.Primitives.ButtonBase.OnClick()
於 System.Windows.Controls.Button.OnClick()
於 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
於 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
於 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
於 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
於 System.Windows.Input.InputManager.ProcessStagingArea()
於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
於 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
於 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
於 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
於 System.Windows.Application.RunDispatcher(Object ignore)
於 System.Windows.Application.RunInternal(Window window)
於 System.Windows.Application.Run(Window window)
於 System.Windows.Application.Run()
於 TheAirlineProjectV2.App.Main()
Game time: 01-01-01 오전 12:00:00
Version: Version 2.14 Patch F (Alpha)
19-09-26: 오후 9:47 code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
no such table: SubsidiaryAirline
於 System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
於 System.Data.SQLite.SQLiteCommand.BuildNextCommand()
於 System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
於 System.Data.SQLite.SQLiteDataReader.NextResult()
於 System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
於 System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
於 System.Data.SQLite.SQLiteCommand.ExecuteReader()
於 SQLiter.SQLiter.GetTable[T]() 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs: 行 321
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.LoadGame(String filename) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs: 行 86
於 TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.loadGame(String filename) 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs: 行 239
於 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() 於 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs: 行 844
於 Prism.Commands.DelegateCommand.Execute()
於 Prism.Commands.DelegateCommand.Execute(Object parameter)
於 Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
於 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
於 System.Windows.Controls.Primitives.ButtonBase.OnClick()
於 System.Windows.Controls.Button.OnClick()
於 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
於 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
於 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
於 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
於 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
於 System.Windows.Input.InputManager.ProcessStagingArea()
於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
於 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
於 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
於 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
於 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
於 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
於 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
於 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
於 System.Windows.Application.RunDispatcher(Object ignore)
於 System.Windows.Application.RunInternal(Window window)
於 System.Windows.Application.Run(Window window)
於 System.Windows.Application.Run()
於 TheAirlineProjectV2.App.Main()
Thanks!