PiRSquared17 / hfm-net

Automatically exported from code.google.com/p/hfm-net
0 stars 0 forks source link

Unhandled exception calling GetSlotTotals(). #280

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
HFM.NET v0.9.1.584

Microsoft Windows NT 6.0.6002 Service Pack 2

Exception Thrown:
System.InvalidOperationException: Collection was modified; enumeration 
operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at HFM.Core.Extensions.GetSlotTotals(IEnumerable`1 slots)
   at HFM.Forms.MainPresenter.<.ctor>b__0(Object , EventArgs )
   at HFM.Forms.Models.MainGridModel.OnAfterResetBindings(EventArgs e)
   at HFM.Forms.Models.MainGridModel.ResetBindingsInternal()
   at HFM.Forms.Models.MainGridModel.ResetBindings()
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Original issue reported on code.google.com by harlam357 on 15 Jul 2012 at 3:16

GoogleCodeExporter commented 9 years ago
Marked Fixed for Revision 595.

Original comment by harlam357 on 15 Jul 2012 at 3:21