The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 749 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 749 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(956) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(956) : eval()'d code 34 errorHandler->error
/global.php 956 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 1021 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/inc/functions.php 5233 build_theme_select
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forum
Game Crashing when loading 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: Game Crashing when loading save (/showthread.php?tid=1626)



Game Crashing when loading save - yuju1004 - 01-05-2019

Game had been saving and loading well in the past few days, and suddenly today, my game save would not load and crash to desktop. I've tried loading the V2.13 Alpha gamesave and that would not load too, but Red Baron saves would load without crashing. Here is the log.

Edit: Looking at other forum posts, I converted an A380 to cargo and was also around the year 2025 mark. Would there be any fixes or by modifying my save data file before the release of 2.14?

Thanks!

Code:
Game time: 24-07-07 오전 12:00:00
Version: Version 2.13 Final (Alpha)
19-01-04: 오후 7:36 System.NullReferenceException: 並未將物件參考設定為物件的執行個體。
  於 TheAirlineProjectV2.Infrastructure.Model.AirlinerModel.Airliner.get_Price() 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\AirlinerModel\Airliner.cs: 行 40
  於 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.AirlineHelpers.GetAirlineValue(Airline airline) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\AirlineHelpers.cs: 行 232
  於 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.AirlineHelpers.GetCreditScore(Airline airline) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\AirlineHelpers.cs: 行 140
  於 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.AirlineHelpers.GetAirlineLoanRate(Airline airline) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\AirlineHelpers.cs: 行 128
  於 TheAirlineProjectV2.Modules.Airline.ViewModels.AirlineFinancesViewModel.setProperties() 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airline\ViewModels\AirlineFinancesViewModel.cs: 行 126
  於 TheAirlineProjectV2.Modules.Airline.ViewModels.AirlineFinancesViewModel.set_CurrentAirline(Airline value) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airline\ViewModels\AirlineFinancesViewModel.cs: 行 105
  於 TheAirlineProjectV2.Modules.Airline.Controllers.AirlineController.AirlineChanged(String id) 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airline\Controllers\AirlineController.cs: 行 114
  於 Prism.Events.EventSubscription`1.<>c__DisplayClass11_0.<GetExecutionStrategy>b__0(Object[] arguments)
  於 Prism.Events.EventBase.InternalPublish(Object[] arguments)
  於 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() 於 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs: 行 770
  於 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.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.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.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.Application.RunDispatcher(Object ignore)
  於 System.Windows.Application.RunInternal(Window window)
  於 TheAirlineProjectV2.App.Main()



RE: Game Crashing when loading save - pjank42 - 01-06-2019

Then you need to sent us the saved game, so we can check what can be fixed


RE: Game Crashing when loading save - SamuraiKing85 - 02-23-2019

My game also seems to be crashing after I try and load it. I really like your game and have had quite a bit of fun but the game seems to crash after about 3 in game years. I started my game in 2019 but always seems to crash at about march in 2022. Hope you can fix it! There are a two errors in the TAPv2 text file which are System.NullReferenceException: Object reference not set to an instance of an object. and System.Data.SQLite.SQLiteException (0x80004005): SQL logic error which both seemed to have occurred when I tried to start the save-files. It also seems to have reset the game time to Game time: 01/01/0001 00:00:00 which may have something to do with it but then the next time I tried to load it jumps to Game time: 17/03/2027 00:00:00. It may have something to do with my company buying out another A.I. company... I've also attached a link to the game crash log (It's a word document as the forum wouldn't allow it as a notebook document)


RE: Game Crashing when loading save - pjank42 - 02-24-2019

Thanks and I will take a look at it soon :-)


RE: Game Crashing when loading save - UBF - 02-24-2019

I think there's definitely an error to do with converting certain aircraft to freighters that crashes the game. Personally, I converted 777-8X's to freighters but in subsidiaries, and when they finished converting, I could still load the game but switching to subsidiaries that had the converted freighters would crash the game.


RE: Game Crashing when loading save - Tjoeker - 02-24-2019

I too suspect it's that bug again.
If that's the case, it has been solved for the upcoming version.