# Bug: Exception in log4view

**URL:** <https://forum.log4view.com/t/bug-exception-in-log4view/20>\
**Category:** Log4View Support\
**Created:** [April 29, 2014, 11:03am UTC](https://forum.log4view.com/t/bug-exception-in-log4view/20 "2014-04-29T11:03:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jod](https://forum.log4view.com/letter_avatar_proxy/v4/letter/j/dbc845/32.png) [@jod](https://forum.log4view.com/u/jod)\
**Post date:** [April 29, 2014, 11:03am UTC](https://forum.log4view.com/t/bug-exception-in-log4view/20/1 "2014-04-29T11:03:02Z")

</div>

Open Logger property in 12.3.7.0 causes below exception

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.  
at System.Collections.Generic.List`1.Enumerator.MoveNextRare() at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source, Func`2 predicate)  
at Prosa.Log4View.LoggerTree.Logger.get\_ReceivedMessagesWithChildren()  
at Prosa.Log4View.LoggerTree.LoggerProperties..ctor(Logger logger)  
at Prosa.Log4View.LoggerTree.LoggerTreeCtrl.BsiPropertiesItemClick(Object sender, ItemClickEventArgs e)  
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)  
at DevExpress.XtraBars.BarItemLink.OnLinkClick()  
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)  
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)  
at DevExpress.XtraBars.Controls.CustomLinksControl.OnMouseUp(MouseEventArgs e)  
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)  
at System.Windows.Forms.Control.WndProc(Message& m)  
at DevExpress.XtraBars.Controls.CustomControl.WndProc(Message& msg)  
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

---

<div class="post-metadata">

**Author:** ![Philipp\_Lauchner](https://forum.log4view.com/user_avatar/forum.log4view.com/philipp_lauchner/32/8_2.png) [@Philipp\_Lauchner](https://forum.log4view.com/u/Philipp_Lauchner)\
**Post date:** [May 2, 2014, 10:15am UTC](https://forum.log4view.com/t/bug-exception-in-log4view/20/2 "2014-05-02T10:15:23Z")

</div>

Dear jod,

thank you for reporting this bug. It will be fixed in the next version.

Yours sincerely

Philipp Lauchner  
**PROSA GmbH**  
Development & Support
