The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
|
CTD while trying to save - Printable Version +- Forum (https://theairlineproject.net/forum) +-- Forum: Downloads (https://theairlineproject.net/forum/forumdisplay.php?fid=5) +--- Forum: Bug Reporting (https://theairlineproject.net/forum/forumdisplay.php?fid=9) +---- Forum: Bug Archive (https://theairlineproject.net/forum/forumdisplay.php?fid=24) +---- Thread: CTD while trying to save (/showthread.php?tid=1850) |
CTD while trying to save - 257istderboss - 08-15-2019 CTD while trying to save the game, game doesn't save. Log: Game time: 26.03.2018 00:00:00 Version: Version 2.14 Patch C (Alpha) 14.08.2019: 20:56 System.NullReferenceException: Object reference not set to an instance of an object. at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.AirlinerClassesConverter.<>c.<ConvertTo>b__7_0(FacilityOptionType o) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\AirlinerClassesConverter.cs:line 159 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext() at System.String.Join(String separator, IEnumerable`1 values) at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.AirlinerClassesConverter.ConvertTo(ITypeDescriptorContext context, CultureInfo culture, Object value, Type destinationType) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\AirlinerClassesConverter.cs:line 159 at System.ComponentModel.TypeConverter.ConvertTo(Object value, Type destinationType) at SQLiter.SQLiter.getPropertyValue(Object type, PropertyInfo property) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 450 at SQLiter.SQLiter.SaveAll[T](IEnumerable`1 data) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:line 175 at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.SaveGame(SaveFile save) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs:line 376 at TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.saveGame(SaveFile savefile) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs:line 244 at TheAirlineProjectV2.Modules.GameSideMenu.ViewModels.GameSideMenuViewModel.MenuItemClicked(Object o) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.GameSideMenu\ViewModels\GameSideMenuViewModel.cs:line 224 at Prism.Commands.DelegateCommand`1.Execute(T parameter) at Prism.Commands.DelegateCommand`1.Execute(Object parameter) at Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Documents.Hyperlink.OnClick() at System.Windows.Documents.Hyperlink.DispatchNavigation(Object sender) at System.Windows.Documents.Hyperlink.DoUserInitiatedNavigation(Object sender) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) at System.Windows.Documents.Hyperlink.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 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.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 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 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at TheAirlineProjectV2.App.Main() RE: CTD while trying to save - Tjoeker - 08-26-2019 I believe I fixed it now. Thanks for reporting! Please report back if it hasn't been fixed in Patch D. |