#454- An exception has occurred (Logger.LogExceptionEx)

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=454
Profiled app, took snapshot, and terminated app. After browsing the snapshot, I created and applied a filter that collapsed all methods except those beginning with Ceoimage.*. The exception occurred and the main signature window turned white with a thin red X.
124
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayListEnumeratorSimple.MoveNext()
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawRows()
at DevExpress.XtraTreeList.Painter.TreeListPainter.DoDraw(TreeListViewInfo viewInfo, DXPaintEventArgs e)
at DevExpress.XtraTreeList.TreeList.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.DevExpressTreeControl.WndProc(Message& m) in c:\TEMP\tmp5F80.tmp\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\DevExpressTreeControl.cs:line 137
at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.SimpleTreeControl.WndProc(Message& m) in c:\TEMP\tmp5F80.tmp\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\SimpleTreeControl.cs:line 112
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 266 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 278 column 5
at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception) in c:\TEMP\tmp5F80.tmp\src\Shell\src\ShellBase.cs:line 121 column 5
at JetBrains.ReSharper.Shell.UIApplicationShell.Application_ThreadException(Object, ThreadExceptionEventArgs) in c:\TEMP\tmp5F80.tmp\src\Shell\src\UIApplicationShell.cs:line 433 column 5
at System.Windows.Forms.ThreadContext.OnThreadException(Exception)
at System.Windows.Forms.Control.WndProcException(Exception)
at System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.RunDialog(Form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window)
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ShowDialog() in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 343 column 9
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ExecuteTask(TaskHelper, String, Boolean, Boolean&) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 553 column 9
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ExecuteTaskNonCancelable(TaskWithProgress, String) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 525 column 7
at JetBrains.dotTrace.Utils.ProfilerProgressWindow.ExecuteTaskNonCancelable(TaskWithProgress, String) in C:\TEMP\tmpBA16.tmp\src\Utils\src\Progress\ProfilerProgressWindow.cs:line 36 column 11
at JetBrains.dotTrace.Components.FilterManagement.FilterManagerImpl.ShowFiltersManagementDialog() in C:\TEMP\tmpBA16.tmp\src\Components\src\FilterManagement\impl\FilterManagerImpl.cs:line 70 column 5
at JetBrains.dotTrace.Actions.ManageFiltersAction.Execute(IDataContext, DelegateExecute) in C:\TEMP\tmpBA16.tmp\src\Application\src\Actions\ManageFiltersAction.cs:line 21 column 5
at JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\Action\ExecutableAction.cs:line 20 column 9
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction, IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 460 column 9
at JetBrains.ReSharper.ActionManagement.ToolBarButtonWithAction.Execute(IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ToolBar\ToolBarButtonWithAction.cs:line 93 column 5
at JetBrains.ReSharper.ActionManagement.ToolBarWithAction.OnButtonClick(ToolBarButtonClickEventArgs) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ToolBar\ToolBarWithAction.cs:line 75 column 4
at System.Windows.Forms.ToolBar.WmReflectCommand(Message&)
at System.Windows.Forms.ToolBar.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef, Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.SendMessage(Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr, Message&)
at System.Windows.Forms.Control.WmCommand(Message&)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(Message&)
at System.Windows.Forms.Control.DefWndProc(Message&)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ToolBar.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at JetBrains.dotTrace.PocketTasks.RunMainFormTask.Execute() in C:\TEMP\tmpBA16.tmp\src\Application\src\PocketTasks\RunMainFormTask.cs:line 18 column 7
at JetBrains.dotTrace.ProfilerMainForm.Main(String[]) in C:\TEMP\tmpBA16.tmp\src\Application\src\ProfilerMainForm.cs:line 101 column 9

3 comments
Comment actions Permalink

http://www.intellij.net/tracker/netprofiler/viewSCR?publicId=454

State of this request was changed from "Submitted" to "Open"

Priority: Normal
Planned for version: 1.1

0
Comment actions Permalink

Applying a filter on a plain view
124
JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayListEnumeratorSimple.MoveNext()
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawRows()
at DevExpress.XtraTreeList.Painter.TreeListPainter.DoDraw(TreeListViewInfo viewInfo, DXPaintEventArgs e)
at DevExpress.XtraTreeList.TreeList.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.DevExpressTreeControl.WndProc(Message& m) in c:\TEMP\tmp5F80.tmp\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\DevExpressTreeControl.cs:line 137
at JetBrains.ReSharper.UI.AbstractTreeBuilder.DevExpressTree.SimpleTreeControl.WndProc(Message& m) in c:\TEMP\tmp5F80.tmp\src\AbstractTreeBuilder\src\DevExpressTreeBuilder\SimpleTreeControl.cs:line 112
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 266 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmp5F80.tmp\src\Util\src\Logger.cs:line 278 column 5
at JetBrains.ReSharper.Shell.ShellBase.OnUnhandledException(Exception) in c:\TEMP\tmp5F80.tmp\src\Shell\src\ShellBase.cs:line 121 column 5
at JetBrains.ReSharper.Shell.UIApplicationShell.Application_ThreadException(Object, ThreadExceptionEventArgs) in c:\TEMP\tmp5F80.tmp\src\Shell\src\UIApplicationShell.cs:line 433 column 5
at System.Windows.Forms.ThreadContext.OnThreadException(Exception)
at System.Windows.Forms.Control.WndProcException(Exception)
at System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.RunDialog(Form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window)
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ShowDialog() in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 343 column 9
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ExecuteTask(TaskHelper, String, Boolean, Boolean&) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 553 column 9
at JetBrains.ReSharper.Shell.Progress.ProgressWindow.ExecuteTaskNonCancelable(TaskWithProgress, String) in c:\TEMP\tmp5F80.tmp\src\Shell\src\Progress\ProgressWindow.cs:line 525 column 7
at JetBrains.dotTrace.Utils.ProfilerProgressWindow.ExecuteTaskNonCancelable(TaskWithProgress, String) in C:\TEMP\tmpBA16.tmp\src\Utils\src\Progress\ProfilerProgressWindow.cs:line 36 column 11
at JetBrains.dotTrace.Components.FilterManagement.FilterManagerImpl.ShowFiltersManagementDialog() in C:\TEMP\tmpBA16.tmp\src\Components\src\FilterManagement\impl\FilterManagerImpl.cs:line 70 column 5
at JetBrains.dotTrace.Actions.ManageFiltersAction.Execute(IDataContext, DelegateExecute) in C:\TEMP\tmpBA16.tmp\src\Application\src\Actions\ManageFiltersAction.cs:line 21 column 5
at JetBrains.ReSharper.ActionManagement.ExecutableAction.Execute(IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\Action\ExecutableAction.cs:line 20 column 9
at JetBrains.ReSharper.ActionManagement.ActionManagerBase.ExecuteAction(IExecutableAction, IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ActionManager\ActionManagerBase.cs:line 460 column 9
at JetBrains.ReSharper.ActionManagement.ToolBarButtonWithAction.Execute(IDataContext) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ToolBar\ToolBarButtonWithAction.cs:line 93 column 5
at JetBrains.ReSharper.ActionManagement.ToolBarWithAction.OnButtonClick(ToolBarButtonClickEventArgs) in c:\TEMP\tmp5F80.tmp\src\ActionManagement\src\ToolBar\ToolBarWithAction.cs:line 75 column 4
at System.Windows.Forms.ToolBar.WmReflectCommand(Message&)
at System.Windows.Forms.ToolBar.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef, Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.SendMessage(Int32, IntPtr, IntPtr)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr, Message&)
at System.Windows.Forms.Control.WmCommand(Message&)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.NativeWindow.DefWndProc(Message&)
at System.Windows.Forms.Control.DefWndProc(Message&)
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ToolBar.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32, Int32, Int32)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32, ApplicationContext)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext)
at System.Windows.Forms.Application.Run(Form)
at JetBrains.dotTrace.PocketTasks.RunMainFormTask.Execute() in C:\TEMP\tmpBA16.tmp\src\Application\src\PocketTasks\RunMainFormTask.cs:line 18 column 7
at JetBrains.dotTrace.ProfilerMainForm.Main(String[]) in C:\TEMP\tmpBA16.tmp\src\Application\src\ProfilerMainForm.cs:line 101 column 9

0

Please sign in to leave a comment.