|
发表于 2012-12-10 19:54:19
|
显示全部楼层
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TheAirline.Model.GeneralModel.PassengerHelpers.GetFlightPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\PassengerHelpers.cs:line 131
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.GetPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 1055
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.SimulateTakeOff(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 705
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.UpdateAirliner(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 539
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.<>c__DisplayClass2.<SimulateTurn>b__1(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 57
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.<>c__DisplayClass2.<SimulateTurn>b__0(Airline airline) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 55
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.SimulateTurn() in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 44
at TheAirline.Model.GeneralModel.GameTimer.GameTimer_OnTimeChanged() in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\GameTimer.cs:line 61
at TheAirline.Model.GeneralModel.GameTimer.TimeChanged.Invoke()
at TheAirline.Model.GeneralModel.GameTimer.Timer_Tick(Object sender, EventArgs e) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\GameTimer.cs:line 67
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TheAirline.Model.GeneralModel.PassengerHelpers.GetFlightPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\PassengerHelpers.cs:line 131
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.GetPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 1055
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.SimulateTakeOff(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 705
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.UpdateAirliner(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 539
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.<>c__DisplayClass2.<SimulateTurn>b__1(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 57
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.<>c__DisplayClass2.<SimulateTurn>b__0(Airline airline) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 55
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )
---> (Inner Exception #0) System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at TheAirline.Model.GeneralModel.PassengerHelpers.GetFlightPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\PassengerHelpers.cs:line 131
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.GetPassengers(FleetAirliner airliner, ClassType type) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 1055
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.SimulateTakeOff(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 705
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.UpdateAirliner(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 539
at TheAirline.Model.GeneralModel.Helpers.GameObjectHelpers.<>c__DisplayClass2.<SimulateTurn>b__1(FleetAirliner airliner) in c:\Users\Mike\Projects\The Airline\The Airline\trunk\TheAirline\Model\GeneralModel\Helpers\GameObjectHelpers.cs:line 57
at System.Threading.Tasks.Parallel.<>c__DisplayClassf`1.<ForWorker>b__c()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass7.<ExecuteSelfReplicating>b__6(Object )<---
<---
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 (RTMGDR.030319-2900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TheAirline
Assembly Version: 0.2.9.0
Win32 Version: 0.2.9.0
CodeBase: file:///C:/Users/Administrator/Desktop/0.35/0.35.exe
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.298
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.298 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.296 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.298 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.298 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Runtime.Caching
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
|
|