MudassarRasool / mb-unit

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

Getting System.IndexOutOfRangeException when running tests for Gallio Icarus #934

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Select all the tests (around 75) in Gallio Icarus
2. Click Start button
3. During this batch execution intermittently we are getting the exception.

What is the expected output? What do you see instead?
No exception should be seen.

What version of the product are you using? On what operating system?
Gallio Icarus 3.4 build 11
MBunit 3.4.0.0

Please provide any additional information below.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
HResult: -2146233080
   at System.Collections.Generic.List`1.Add(T item)
   at Gallio.Icarus.Models.TestTreeNode.AddTestStepRun(TestStepRun testStepRun)
   at Gallio.Icarus.Models.TestTreeModel.Handle(TestStepFinished event)
   at Gallio.UI.Events.EventAggregator.Send[T](Object sender, T message)
   at Gallio.Icarus.Controllers.TestController.<>c__DisplayClass15.<WireUpTestStepFinished>b__14()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

System.IndexOutOfRangeException: Index was outside the bounds of the array.
HResult: -2146233080
   at System.Collections.Generic.List`1.Add(T item)
   at Gallio.Icarus.Models.TestTreeNode.AddTestStepRun(TestStepRun testStepRun)
   at Gallio.Icarus.Models.TestTreeModel.Handle(TestStepFinished event)
   at Gallio.UI.Events.EventAggregator.Send[T](Object sender, T message)
   at Gallio.Icarus.Controllers.TestController.<>c__DisplayClass15.<WireUpTestStepFinished>b__14()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Original issue reported on code.google.com by pavantur...@gmail.com on 13 Jan 2015 at 5:03

Attachments: