rahulpandey87 / mb-unit

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

unhandledException at Icarus startup #658

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Gallio 3.2 Build 427 (Icarus Shows 3.2 426)
2. Run Icarus

You get the following unhandledexception

Error:
System.ArgumentException: Tree view category cannot be null or empty.
   at Gallio.Icarus.Models.TestTreeModel.BuildTestTree(IProgressMonitor
progressMonitor, TestModelData testModelData, TreeBuilderOptions options)
   at
Gallio.Icarus.Controllers.TestController.<>c__DisplayClasse.<RefreshTestTree>b__
a(Report
report)
   at Gallio.Common.Concurrency.LockBox`1.Read(ReadAction`1 action) in
c:\Server\Projects\MbUnit
v3.2\Work\src\Gallio\Gallio\Common\Concurrency\LockBox.cs:line 61
   at
Gallio.Icarus.Controllers.TestController.RefreshTestTree(IProgressMonitor
progressMonitor)
   at Gallio.Icarus.Controllers.TestController.DoWithTestRunner(Action`1
action, IProgressMonitor progressMonitor, Double
initializationAndDisposalWorkUnits, IEnumerable`1 testRunnerExtensions)
   at Gallio.Icarus.Controllers.TestController.Explore(IProgressMonitor
progressMonitor, IEnumerable`1 testRunnerExtensions)
   at Gallio.Icarus.Commands.NewProjectCommand.Execute(IProgressMonitor
progressMonitor)
   at
Gallio.UI.ProgressMonitoring.TaskRunner.<>c__DisplayClass2.<BeginNextTask>b__0()
Reported by: 
UnhandledExceptionPolicy
   at Gallio.UI.ProgressMonitoring.TaskRunner.ProcessFailure(Exception
exception, String queueId)
   at Gallio.UI.ProgressMonitoring.TaskRunner.TaskTerminated(Task
workerTask, String queueId)
   at
Gallio.Common.Policies.EventHandlerPolicy.SafeInvoke[T](EventHandler`1
handlerChain, Object sender, T e) in c:\Server\Projects\MbUnit
v3.2\Work\src\Gallio\Gallio\Common\Policies\EventHandlerPolicy.cs:line 69
   at Gallio.Common.Concurrency.Task.Notify(EventHandler`1& chain) in
c:\Server\Projects\MbUnit
v3.2\Work\src\Gallio\Gallio\Common\Concurrency\Task.cs:line 354
   at Gallio.Common.Concurrency.Task.NotifyTerminated(TaskResult result) in
c:\Server\Projects\MbUnit
v3.2\Work\src\Gallio\Gallio\Common\Concurrency\Task.cs:line 305
   at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

What version of the product are you using? On what operating system?
Windows 7 x64. Gallio 3.2 427 x64

The same error will appear when I try to add a file. 

Original issue reported on code.google.com by kay....@gmail.com on 4 May 2010 at 10:34

GoogleCodeExporter commented 8 years ago
This happens to me very regularly. I believe it is because the dropdown in Test 
Explorer is not set to anything. If you drop it down and select Namespace, then 
reload your tests, everything should be fine.

Another thing that seems to work is to delete all of your settings under 
AppData.

Original comment by rpro...@gmail.com on 3 Dec 2010 at 2:50