Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

The Airline Project - NEXT GEN

Become the CEO of your own airline in this tycoon game. · By Tjoeker, Tomcatter, pjank42

Crashing on Save

A topic by thomascferguson created 50 days ago Views: 171 Replies: 18
Viewing posts 1 to 9

I recently contributed to the development fund, and received a link to download 2.14 Patch J. Since doing so, I have had a problem with the game crashing on Save; even though it is a lightly-loaded game. Custom Airline, out of Dallas Love Field (no other focus cities or hubs, fleet of thirty-one 737-200adv, serving 79 destinations. AI airlines (2) have no routes yet. Two years into scenario that started in 1975. Computer is I-7 (4th gen) with 8gb of ram, 512gb SSD, and a GEForce 1gb GTX video card. Any idea why it is crashing when I save? It will show the "failed" save, and if you try to open it from the "Load Saved Game" menu, it crashes the game again. 

Typo: Computer is 9th gen Intel I-7

The game is installed in its own folder on C: , if that matters.

Developer (1 edit)

The problem is certainly not that you have too many routes or that your system specs are not good enough. :)

The AI is quite passive most of the time, this is something we will fix in one of the upcoming versions.

I will release a patch later this evening (CET time) that might fix the issue. Sadly, it won't fix your save, sorry.
If it doesn't fix the issue, can you give me the crashlog? You can find it in the rootfolder called 'TAPv2.log'.

Thanks for reporting!


Edit: I went ahead and pushed the patch already. :)

(+1)

Thanks for the prompt response !!! I will download it now, and give it a try.

I don't know what particular type of Black Magic you applied, but it was HIGHLY effective !!! Have the game back to (as closely as I can remember) where it was crashing on Save before, and it is working flawlessly.  Thanks again for your prompt response/resolution of my problem !!!

Developer

No problem, I'm glad it worked. :)

Powered back on after dinner, added FLL as focus city, bought facilities there, created routes from FLL, tried to save, and ......... Crash. :-(        The log says:

Game time: 5/23/1978 12:00:00 AM
Version: Version 2.14 Patch J2 (Alpha)
1/5/2020: 6:59 PM 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)
   at SQLiter.SQLiter.SaveAll[T](IEnumerable`1 data)
   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()

Developer

I'll take another look at it today.

Thank you.

Developer

I hope it is fixed for this next patch.

When do you expect the next patch will be released?

Developer (1 edit)

About an hour ago. ;D edit: oh, I forgot to update the name on the itch page.

Great... Thanks !!!

Powered back on after dinner, added FLL as second airport, and set up routes; tried to save, and CRASH.  :-(        How shall I send you the crashlog?

Deleted 33 days ago
Developer (1 edit)

Hey, you don't have to pay me to get this software running. Can you share your latest crashlog? I suggest you remove your email address before some bots get a hold of it. ;)

Post Deleted; thanks for the warning. I uninstalled and reinstalled yesterday........... right after I took uninstalled nahimic3 from my computer. Some blogs say that nahimic can cause crashing.  I will try to run it some in the next few days, and see how it does; If it crashes again, I will send you the log. Thanks.

Crashed in mid-game; It has done this twice today, and twice yesterday. 

Game time: 12/13/2000 12:00:00 AM Version: Version 2.14.2 Patch A (Alpha) 2/4/2020: 1:36 PM System.NullReferenceException: Object reference not set to an instance of an object.    at TheAirlineProjectV2.GraphicsControls.Controls.SeatingControls.SeatingConfigurationViewModel.ChangeClassClicked(ClassItem ci) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.GraphicsControls\Controls\SeatingControls\SeatingConfigurationViewModel.cs:line 280    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.Controls.Primitives.ButtonBase.OnClick()    at System.Windows.Controls.Button.OnClick()    at System.Windows.Controls.Primitives.ButtonBase.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.UIElement.RaiseTrustedEvent(RoutedEventArgs args)    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)    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.Window.ShowHelper(Object booleanBox)    at System.Windows.Window.Show()    at System.Windows.Window.ShowDialog()    at TheAirlineProjectV2.Modules.Airliners.ViewModels.ManufacturerViewModel.ConfigOrderClicked(OrderItem order) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.Airliners\ViewModels\ManufacturerViewModel.cs:line 319    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.Controls.Primitives.ButtonBase.OnClick()    at System.Windows.Controls.Button.OnClick()    at System.Windows.Controls.Primitives.ButtonBase.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.UIElement.RaiseTrustedEvent(RoutedEventArgs args)    at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)    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()

Post Deleted; thanks for the warning. I uninstalled and reinstalled yesterday........... right after I took uninstalled nahimic3 from my computer. Some blogs say that nahimic can cause crashing.  I will try to run it some in the next few days, and see how it does; If it crashes again, I will send you the log. Thanks.