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 "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
Reading the crash code - 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)
+--- Thread: Reading the crash code (/showthread.php?tid=2124)



Reading the crash code - 2466254711 - 05-04-2020

Code:
Game time: 0001/1/1 0:00:00
Version: Version 2.14.2 Patch C (Alpha)
2020/5/4: 20:36 System.Xml.XmlException: 给定编码中的字符无效。 第 1 行,位置 38。
   在 System.Xml.XmlTextReaderImpl.Throw(Exception e)
   在 System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   在 System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
   在 System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
   在 System.Xml.XmlTextReaderImpl.ReadData()
   在 System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   在 System.Xml.XmlTextReaderImpl.Read()
   在 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   在 System.Xml.XmlDocument.Load(XmlReader reader)
   在 System.Xml.XmlDocument.Load(String filename)
   在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.LoadCountryRelationsFromFile(String filename) 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 430
   在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupCountryRelations() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 424
   在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupGame() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:行号 65
   在 TheAirlineProjectV2.Bootstrapper.InitializeShell() 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2\Bootstrapper.cs:行号 40
   在 Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
   在 Prism.Bootstrapper.Run()
   在 TheAirlineProjectV2.App.OnStartup(StartupEventArgs e) 位置 D:\OneDrive\bureaublad\TAP\TAP Code\TheAirlineProjectV2\App.xaml.cs:行号 27
   在 System.Windows.Application.<.ctor>b__1_0(Object unused)
   在 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.DispatcherOperation.InvokeImpl()
   在 System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Windows.Threading.DispatcherOperation.Invoke()
   在 System.Windows.Threading.Dispatcher.ProcessQueue()
   在 System.Windows.Threading.Dispatcher.WndProcHook(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.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   在 System.Windows.Application.RunDispatcher(Object ignore)
   在 System.Windows.Application.RunInternal(Window window)
   在 System.Windows.Application.Run(Window window)
   在 System.Windows.Application.Run()
   在 TheAirlineProjectV2.App.Main()
Hello! 
I've just installed the new version of your game! I love your work as always! This is probably a problem exclusive to my own bit-up laptop. The game crashed and gave me this crash code. The Chinese on the third line roughly translates to "certain characters in the code is invalid."  I cannot find any file named System.xml.xml, so would you mind to tell me where to find this invalid character? And what should I do when I find it?
Thank you for your time!


RE: Reading the crash code - Tjoeker - 05-04-2020

System.xml(.xml) is not a file by us, but by Windows. It's a bit strange it is crashing there.

I believe it crashes while you're trying to start a game, rather than launching the program?

If so, you can try removing all files in: data/general/countryrelations (make a back up of this folder!)
If it works it likely has trouble reading one or all of these files. Unfortunately the crash report doesn't tell us which file it is.

You can run the game without these files, but you'll find that demand drops drastically on all routes.
You can, if you want, try to put the files back in. Try to figure out which file is causing the issue, and tell it to me so I can take a closer look.
Another thing you can do is just tell me which year you're trying to launch the game and see if it causes an issue for me too. Smile


If this doesn't work I suggest just reverting to Patch B sadly. After all Patch C fixes only one thing and it was not game breaking: the taxes were about 8 times too high in the later years.


RE: Reading the crash code - 2466254711 - 05-05-2020

(05-04-2020, 01:45 PM)Tjoeker Wrote: System.xml(.xml) is not a file by us, but by Windows. It's a bit strange it is crashing there.

I believe it crashes while you're trying to start a game, rather than launching the program?

If so, you can try removing all files in: data/general/countryrelations (make a back up of this folder!)
If it works it likely has trouble reading one or all of these files. Unfortunately the crash report doesn't tell us which file it is.

You can run the game without these files, but you'll find that demand drops drastically on all routes.
You can, if you want, try to put the files back in. Try to figure out which file is causing the issue, and tell it to me so I can take a closer look.
Another thing you can do is just tell me which year you're trying to launch the game and see if it causes an issue for me too. Smile


If this doesn't work I suggest just reverting to Patch B sadly. After all Patch C fixes only one thing and it was not game breaking: the taxes were about 8 times too high in the later years.
It crashed when I was launching the program. I double-clicked the .exe and nothing happened. I tried to remove the countryrelations file and then it just told me that it cannot find the files in that folder anymore. Probably it has something to do with my computer? I have no idea. I think it is better for me to go back to Patch B so far. Thank you anyway!


RE: Reading the crash code - Tjoeker - 05-05-2020

I'm sorry patch C doesn't work for you for some reason.

I will of course make sure TAP NG works for everyone. Smile