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
Weird Startup bug
#1
Hey guys! Good to see the project moving forward.

So, this happened today:
I downloaded the latest release with the patches from itch.io...
Tried to start it through the itch interface, no luck, the icon of the game just blinks and goes away.
So, here is the log for examination for pjank42 or the other devs:

Game time: 1. 1. 0001 0:00:00
Version: Version 2.13 Final (Alpha)
3. 12. 2018: 9:35 System.Xml.XmlException: Data at the root level is invalid. Line 433, position 18.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.LoadAirlinerImages() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:line 269
   at TheAirlineProjectV2.Infrastructure.Model.GeneralModel.Setup.SetupGame() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\Setup.cs:line 74
   at TheAirlineProjectV2.Bootstrapper.InitializeShell() in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2\Bootstrapper.cs:line 40
   at Prism.Unity.UnityBootstrapper.Run(Boolean runWithDefaultConfiguration)
   at TheAirlineProjectV2.App.OnStartup(StartupEventArgs e) in C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2\App.xaml.cs:line 27
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   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.DispatcherOperation.InvokeImpl()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(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()


Hopefully there is some workaround as it seems to be just a small xml error, but maybe I'm wrong.
Have fun! Smile
Cheers! Smile
Reply
#2
Hi :-)

By any chance that you have changed the content of images.xml under data\graphics\airlinerimages because there is an error with that file? And there should be no issues with that file in general
Reply
#3
Hey Pjank.
No, it was a fresh install, and nothing has been changed.
I’ll try to reinstall it once more by completely clearing the files.
I’ll let you know as soon as possible. ?
Cheers!

Update: solved. Somehow at the end of the .xml file there was an error with the </airlineimages>... it looked like this: </airlineimages>ges>>
Strange...
Reply
#4
Great to hear :-)
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)