Welcome to the Forum for The Airline Project

Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Golden Age Scenario Crashes to Desktop
#1
Hi, Team-
Fantastic game!  I've been able to play other scenarios, but the Golden Age of Aviation for Eastern Europe crashes to the desktop when I attempt to run it.
I'm on a Win10 Pro 64-Bit machine and I run the main executable as an administrator.
Here is the log file--any thoughts on the culprit?

Thank you!



Game time: 1/1/1930 12:00:00 AM
Version: Version 2.13 Final (Alpha)
5/31/2019: 12:39 PM System.NullReferenceException: Object reference not set to an instance of an object.
   at TheAirlineProjectV2.Infrastructure.Model.HelpersModel.AirlinerHelpers.CreateUsedAirliners(Int32 paxcount, Int32 cargocount, Int32 year) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\AirlinerHelpers.cs:line 682
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewGame.SetupAirliners(Int32 year) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewGame.cs:line 219
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewScenario.SetupScenario(Scenario scenario) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewScenario.cs:line 51
   at TheAirlineProjectV2.Modules.MainMenu.ViewModels.ScenariosViewModel.StartScenarioClicked() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\ScenariosViewModel.cs:line 103
   at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   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.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.UIElement.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.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at TheAirlineProjectV2.App.Main()
Reply
#2
Thanks for reporting. We'll take a look at it and fix it for the next version. Smile
Reply
#3
By the way, in trying to recreate the scenario I noticed I can't make a random scenario prior to 1935 so perhaps it is the same underlying issue (i.e. I get the CTD when I choose any year from 1930-1934 as the start date).

Thanks for looking into it!
Reply
#4
Are you saying you can't create a new game before 1935?
I know we had a bug where you couldn't start a game sometime in the 30's with cargo/mixed airlines. But Passenger airlines only should be possible.

I don't know though if this was still the case in v2.13 Final.
Reply
#5
Confirmed: when I attempt to start a new game in 1934 with pax only (or mixed) I get a CTD (just like with the scenario that I believe starts in 1930).  If I choose 1935 with pax only the game runs just fine, so that appears the currents starting point.  I hope that helps. Smile
Thx!
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)