joaquimcid / mb-unit

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

Running tests results in an exception #595

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open test file
2. Deselect all tests, but select some
3. Run test

What is the expected output? What do you see instead?
Expected: No exception is thrown, execution is complete.
Actual: Exception is thrown, and execution is complete.

What version of the product are you using? On what operating system?
Gallio version 3.1 build 397 on Windows XP SP3.

Please provide any additional information below.
Exception stack:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.List`1.RemoveAt(Int32 index)
   at Aga.Controls.Tree.TreeNodeAdv.NodeCollection.RemoveItem(Int32 index)
   at System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
   at Aga.Controls.Tree.TreeNodeAdv.NodeCollection.ClearItems()
   at System.Collections.ObjectModel.Collection`1.Clear()
   at Aga.Controls.Tree.TreeViewAdv.ReadChilds(TreeNodeAdv parentNode,
Boolean performFullUpdate)
   at Aga.Controls.Tree.TreeViewAdv._model_StructureChanged(Object sender,
TreePathEventArgs e)
   at Aga.Controls.Tree.TreeModelBase.OnStructureChanged(TreePathEventArgs
args)
   at Gallio.Icarus.Models.ProjectTreeModel.<set_TestProject>b__0(Object
sender, EventArgs e)
   at Gallio.Common.Policies.EventHandlerPolicy.SafeInvoke(EventHandler
handlerChain, Object sender, EventArgs e) in c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Common\Policies\EventHandlerPolicy.cs:line 43
Reported by: 
UnhandledExceptionPolicy
   at Gallio.Common.Policies.EventHandlerPolicy.ReportException(Exception
ex) in c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Common\Policies\EventHandlerPolicy.cs:line 81
   at Gallio.Common.Policies.EventHandlerPolicy.SafeInvoke(EventHandler
handlerChain, Object sender, EventArgs e) in c:\RelEng\Projects\MbUnit
v3.1\Work\src\Gallio\Gallio\Common\Policies\EventHandlerPolicy.cs:line 47
   at Gallio.Icarus.Reports.ReportMonitor.OnReportDirectoryChanged()
   at
Gallio.Icarus.Reports.ReportMonitor.<SetupDirectoryWatcher>b__7(Object
sender, FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.OnCreated(FileSystemEventArgs e)
   at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action,
String name)
   at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode,
UInt32 numBytes, NativeOverlapped* overlappedPointer)
   at
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Original issue reported on code.google.com by bogatykh@gmail.com on 26 Nov 2009 at 8:20

GoogleCodeExporter commented 8 years ago
Just wanted to mention that this exception is thrown in Gallio Icarus Runner, 
and
never in console version of Gallio.

Original comment by bogatykh@gmail.com on 26 Nov 2009 at 8:21

GoogleCodeExporter commented 8 years ago
Ahh, someone else encountered this but could not repro.  Thanks for the steps.

Does it happen every time?

Original comment by jeff.br...@gmail.com on 5 Jan 2010 at 12:46

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 19 Jul 2010 at 9:16

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 21 Sep 2010 at 1:45

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 14 Jun 2011 at 5:53