#1371 InvalidOperationException in CountUnread()

SVN_Version
closed
Crashes (166)
5
2012-09-23
2009-09-05
No

at line foreach (INewsFeed f in entry.Source.GetFeeds().Values)
in private void CountUnread(out int unreadFeeds, out int unreadMessages); WinGuiMain class

System.InvalidOperationException was unhandled
Message="Collection was modified after the enumerator was instantiated."
Source="System"
StackTrace:
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.TreeSet1.Enumerator.MoveNext() at System.Collections.Generic.SortedDictionary2.Enumerator.MoveNext()
at System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.MoveNext()
at RssBandit.WinGui.Forms.WinGuiMain.CountUnread(Int32& unreadFeeds, Int32& unreadMessages) in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\WinGui\Forms\WinGuiMain.Helpers.cs:line 1855
at RssBandit.WinGui.Forms.WinGuiMain.TriggerGUIStateOnNewFeeds(Boolean handleNewReceived) in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\WinGui\Forms\WinGuiMain.Helpers.cs:line 1582
at RssBandit.RssBanditApplication.<>cDisplayClass36.<OnAllRequestsCompleted>b35() in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\Core\RssBanditApplication.EventHandlers.cs:line 444
at RssBandit.GuiInvoker.SafeInvoke(Object state) in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\Core\GuiInvoker.cs:line 83
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)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(ApplicationContext context)
at RssBandit.RssBanditApplication.StartMainGui(FormWindowState initialStartupState) in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\Core\RssBanditApplication.cs:line 604
at RssBandit.Program.Main(String[] args) in D:\My Projects\SF.RssBandit\trunk\source\RssBandit\Program.cs:line 113
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks