03-30-2017, 01:00 PM
(This post was last modified: 03-30-2017, 01:07 PM by 2466254711.)
First, I'd like to congratulate the team for the release of the new version. These changes do make this game more convenient and reliable. However, in some occasions, the games breaks down when I play it.
2017/3/30: 20:56 System.ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
参数名: startIndex
在 System.String.Substring(Int32 startIndex, Int32 length)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetTailNumber(String lastCode, Int32 chars) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 207
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetAirlinerTailnumber(Country country) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 162
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewGame.SetupAirliners(Int32 year) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewGame.cs:行号 112
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewGame.StartNewGame(Airline human, Int32 startyear, Int32 opponents, List`1 airlines, Boolean useMajorAirlines, Boolean useMajorAirports, List`1 regions) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewGame.cs:行号 61
在 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.startGame() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:行号 254
在 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.StartGameNext() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:行号 243
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
在 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.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.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()
This one happened when I try to start with an airline based in the U.S.A.
Is there any solutions? Appreciate for that.
And this is another problem when I try to buy a second-hand airliner:
2017/3/30: 21:06 System.FormatException: 输入字符串的格式不正确。
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
在 System.Convert.ToInt32(String value)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.<>c.<GetAirlinerTailnumber>b__3_6(Airliner a) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 148
在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
在 System.Linq.Enumerable.Max(IEnumerable`1 source)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetAirlinerTailnumber(Country country) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 148
在 TheAirlineProjectV2.Modules.Airliners.ViewModels.UsedAirlinersViewModel.BuyAircraftClicked() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airliners\ViewModels\UsedAirlinersViewModel.cs:行号 133
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
在 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.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.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()
2017/3/30: 20:56 System.ArgumentOutOfRangeException: startIndex 不能大于字符串长度。
参数名: startIndex
在 System.String.Substring(Int32 startIndex, Int32 length)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetTailNumber(String lastCode, Int32 chars) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 207
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetAirlinerTailnumber(Country country) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 162
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewGame.SetupAirliners(Int32 year) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewGame.cs:行号 112
在 TheAirlineProjectV2.Infrastructure.Model.GeneralModel.SetupNewGame.StartNewGame(Airline human, Int32 startyear, Int32 opponents, List`1 airlines, Boolean useMajorAirlines, Boolean useMajorAirports, List`1 regions) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\GeneralModel\SetupNewGame.cs:行号 61
在 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.startGame() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:行号 254
在 TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.StartGameNext() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.MainMenu\ViewModels\MainMenuWindowViewModel.cs:行号 243
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
在 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.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.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()
This one happened when I try to start with an airline based in the U.S.A.
Is there any solutions? Appreciate for that.
And this is another problem when I try to buy a second-hand airliner:
2017/3/30: 21:06 System.FormatException: 输入字符串的格式不正确。
在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
在 System.Convert.ToInt32(String value)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.<>c.<GetAirlinerTailnumber>b__3_6(Airliner a) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 148
在 System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
在 System.Linq.Enumerable.Max(IEnumerable`1 source)
在 TheAirlineProjectV2.Infrastructure.Model.HelpersModel.CountryHelpers.GetAirlinerTailnumber(Country country) 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Infrastructure\Model\HelpersModel\CountryHelpers.cs:行号 148
在 TheAirlineProjectV2.Modules.Airliners.ViewModels.UsedAirlinersViewModel.BuyAircraftClicked() 位置 C:\Users\Christian\Documents\Visual Studio 2017\Projects\TheAirlineProjectV2\TheAirlineProjectV2.Modules.Airliners\ViewModels\UsedAirlinersViewModel.cs:行号 133
在 Prism.Commands.DelegateCommandBase.<>c__DisplayClass6_0.<.ctor>b__0(Object arg)
在 Prism.Commands.DelegateCommandBase.<Execute>d__15.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Prism.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__13.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
在 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.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.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 TheAirlineProjectV2.App.Main()