-
Notifications
You must be signed in to change notification settings - Fork 50
Description
System.AggregateException: One or more errors occurred. (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at VidCoder.DispatchUtilities.Invoke(Action action) in C:\git\VidCoder\VidCoder\Utilities\DispatchUtilities.cs:line 16
at VidCoder.View.Main.EnsureVisible() in C:\git\VidCoder\VidCoder\View\Main.xaml.cs:line 310
at VidCoder.Automation.VidCoderAutomation.BringToForeground() in C:\git\VidCoder\VidCoder\Automation\VidCoderAutomation.cs:line 79
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at PipeMethodCalls.RequestHandler1.GetTypedResponseForRequest(SerializedPipeRequest request)) ---> PipeMethodCalls.PipeInvokeFailedException: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at VidCoder.DispatchUtilities.Invoke(Action action) in C:\git\VidCoder\VidCoder\Utilities\DispatchUtilities.cs:line 16 at VidCoder.View.Main.EnsureVisible() in C:\git\VidCoder\VidCoder\View\Main.xaml.cs:line 310 at VidCoder.Automation.VidCoderAutomation.BringToForeground() in C:\git\VidCoder\VidCoder\Automation\VidCoderAutomation.cs:line 79 --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at PipeMethodCalls.RequestHandler1.GetTypedResponseForRequest(SerializedPipeRequest request)
at PipeMethodCalls.MethodInvoker1.InvokeAsync(Expression1 expression, CancellationToken cancellationToken)
at VidCoderCommon.Services.AutomationClient.TryActionAsync(Expression1 action) in C:\git\VidCoder\VidCoderCommon\Services\AutomationClient.cs:line 46 at VidCoderCommon.Services.AutomationClient.RunActionAsync(Expression1 action) in C:\git\VidCoder\VidCoderCommon\Services\AutomationClient.cs:line 19
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at VidCoder.App.OnStartup(StartupEventArgs e) in C:\git\VidCoder\VidCoder\App.xaml.cs:line 69
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Originally posted by @Kill3rWolf in #886 (comment)