Icarus doesn't seem to be waiting long enough for the browser to load when
generating reports.
In cases where there are multiple major versions of Firefox on the system,
Firefox will go through it's Add-On checking process when it starts up.
This takes time, and Icarus is throwing an exception due to the time taken.
To reproduce, simply install Firefox and run 4 beta, run some tests, and view
the results. This should launch Firefox 3, and force the add-on checking, and
therefore the exception.
Trace:
System.ComponentModel.Win32Exception: An error occurred in sending the command
to the application
NativeErrorCode: 1156
ErrorCode: -2147467259
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Gallio.Common.IO.FileSystem.OpenFile(String path) in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Common\IO\FileSystem.cs:line 59
at Gallio.Icarus.Commands.ConvertSavedReportCommand.Execute(IProgressMonitor progressMonitor)
at Gallio.UI.ProgressMonitoring.TaskRunner.<>c__DisplayClass2.<BeginNextTask>b__0()
Reported by:
UnhandledExceptionPolicy
at Gallio.UI.Common.Policies.UnhandledExceptionPolicy.Report(String message, Exception unhandledException)
at Gallio.UI.ProgressMonitoring.TaskRunner.ProcessFailure(Exception exception, String queueId)
at Gallio.UI.ProgressMonitoring.TaskRunner.TaskTerminated(Task workerTask, String queueId)
at Gallio.UI.ProgressMonitoring.TaskRunner.<>c__DisplayClass2.<BeginNextTask>b__1(Object , TaskEventArgs )
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 355
at Gallio.Common.Concurrency.Task.OnTerminated() in c:\Server\Projects\MbUnit v3.2\Work\src\Gallio\Gallio\Common\Concurrency\Task.cs:line 343
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.ThreadHelper.ThreadStart_Context(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.Threading.ThreadHelper.ThreadStart()
Original issue reported on code.google.com by gmcdonald@vividas.com on 11 Nov 2010 at 3:17
Original issue reported on code.google.com by
gmcdonald@vividas.com
on 11 Nov 2010 at 3:17