Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subsidiary Bug?
#1
After I create a subsidiary, the save data doesn't load and the game crash.

Code:
Game time: 01.01.0001 00:00:00
Version: Version 2.14 Patch C (Alpha)
09.08.2019: 19:46 System.InvalidOperationException: Die Sequenz enthält kein übereinstimmendes Element.
  bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
  bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.Converters.SubsidiariesConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\Converters\SubsidiariesConverter.cs:Zeile 35.
  bei SQLiter.SQLiter.getObjectValue(Object type, Type otype) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 419.
  bei SQLiter.SQLiter.getObjectValue(Object type, PropertyInfo property) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 374.
  bei SQLiter.SQLiter.GetElement[T](SQLiteDataReader reader) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 268.
  bei SQLiter.SQLiter.GetTable[T]() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\SQLiter\SQLiter\SQLiter.cs:Zeile 326.
  bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveHelpers.LoadGame(String filename) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveHelpers.cs:Zeile 88.
  bei TheAirlineProjectV2.Infrastructure.Model.LoadSaveModel.LoadSaveObject.loadGame(String filename) in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\LoadSaveModel\LoadSaveObject.cs:Zeile 239.
  bei TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.LoadGameClicked() in D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:Zeile 835.
  bei Prism.Commands.DelegateCommand.Execute()
  bei Prism.Commands.DelegateCommand.Execute(Object parameter)
  bei Prism.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
  bei MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
  bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
  bei System.Windows.Controls.Button.OnClick()
  bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
  bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
  bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
  bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  bei System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
  bei System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
  bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
  bei System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
  bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  bei System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
  bei System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
  bei System.Windows.Input.InputManager.ProcessStagingArea()
  bei System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
  bei System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
  bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
  bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
  bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  bei MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  bei System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  bei System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  bei System.Windows.Application.RunDispatcher(Object ignore)
  bei System.Windows.Application.RunInternal(Window window)
  bei System.Windows.Application.Run(Window window)
  bei System.Windows.Application.Run()

Edit 10.08.2019
The game also crashed if the AI create subsidiaries.
CEO of Germani Airline Group
- Germani International (Boeing 787-9) based Berlin / Düsseldorf
- Germani City / European (A220-300 / A320neo / A321neo) (planned)
- Germani Holiday (A321neoLR, A330-900neo) (planned)
- Yàzhōu Airlines (A350-900 / -1000) (planned)
Reply
#2
Can you please share the save file?
Reply
#3
If you can tell me, where I can find the save file and pick up the right file.
I only see file with numbers and characters
CEO of Germani Airline Group
- Germani International (Boeing 787-9) based Berlin / Düsseldorf
- Germani City / European (A220-300 / A320neo / A321neo) (planned)
- Germani Holiday (A321neoLR, A330-900neo) (planned)
- Yàzhōu Airlines (A350-900 / -1000) (planned)
Reply
#4
Open your "data.sqlite" with the "DB Browser" and under "SaveFile" you will find the name with the corresponding number.
Reply
#5
Hi together,

@ Thanks Tomcatter

Link
Before B777-300ER is released for purchasing

That is my saving point, because at this time I would have started with changing my fleet from 772ER to 773ER.
CEO of Germani Airline Group
- Germani International (Boeing 787-9) based Berlin / Düsseldorf
- Germani City / European (A220-300 / A320neo / A321neo) (planned)
- Germani Holiday (A321neoLR, A330-900neo) (planned)
- Yàzhōu Airlines (A350-900 / -1000) (planned)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)