google-code-export / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Unhandled exception occurs when running tests #783

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click Start
2. The Tests Run Show Pass/Fail/etc
3. Then an unhandled exception pops up in a dialog.
4. It doesn't seem to happen consistently, things will seem to be running fine 
and then it will start doing it and will continue to do it until I shut down 
and restart Gallio

What is the expected output? What do you see instead?
- I expect no exception 

What version of the product are you using? On what operating system?
From the About Menu
MbUnit v3 3.2.0.0
MbUnit v2 2.4.2.175
Gallio Icarus - Version 3.2 build 517

Please provide any additional information below.
A dialog box pops up that with the title of "Unhandled Exception".  The 
contents say "Error from Application.ThreadException"  It contains a continue 
button and a details button.  If I hit continue then things seem to progress as 
normal.  The details look like this

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' 
was thrown.
   at System.Collections.Generic.List`1.set_Capacity(Int32 value)
   at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
   at System.Collections.Generic.List`1.Add(T item)
   at Aga.Controls.Tree.TreeViewAdv.CreateRowMap()
   at Aga.Controls.Tree.TreeViewAdv.UnsafeFullUpdate()
   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()
Reported by: 
UnhandledExceptionPolicy
   at Gallio.Icarus.IcarusProgram.<UnhandledErrorPolicy>b__5(Object sender, ThreadExceptionEventArgs e)
   at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   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.Callback(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(IntPtr 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(Form mainForm)
   at Gallio.UI.ErrorReporting.ErrorDialogUnhandledExceptionHandler.RunApplicationWithHandler(Form mainForm)
   at Gallio.Icarus.IcarusProgram.RunImpl(String[] args)
   at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole console, String[] args) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Runtime\ConsoleSupport\ConsoleProgram.cs:line 198
   at Gallio.Icarus.IcarusProgram.Main(String[] args)

Let me know if there is anything else I can get you guys for information.

Original issue reported on code.google.com by CodeHul...@gmail.com on 2 Dec 2010 at 5:09