Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Mar 28, 2012 5:33:09 AM |
Updated | Mar 28, 2012 5:33:09 AM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.5.37, Built=2012-03-25T14:12:10, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to evaluate the data rule. Exception of type 'JetBrains.Application.Progress.ProcessCancelledException' was thrown.
--- EXCEPTION #1/3 [ProcessCancelledException]
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Application.Progress.ProcessCancelledException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Shell
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElements
Data.DataConstantType = “System.Collections.Generic.ICollection`1[[JetBrains.ReSharper.Psi.IDeclaredElement, JetBrains.ReSharper.Psi, Version=7.0.5.37, Culture=neutral, PublicKeyToken=1010a0d8d6380325]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule`1[System.Collections.Generic.ICollection`1[JetBrains.ReSharper.Psi.IDeclaredElement]]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
--- Outer —
--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
Failed to evaluate the data rule. Exception of type 'JetBrains.Application.Progress.ProcessCancelledException' was thrown.
--- EXCEPTION #1/3 [ProcessCancelledException]
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.Application.Progress.ProcessCancelledException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Shell
StackTraceString = “
at JetBrains.Application.SeldomInterruptChecker.CheckForInterrupt() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 272 at JetBrains.ReSharper.Psi.Parsing.TokenBuffer.ReScanUpToEnd(ILexer lexer) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\parsing\TokenBuffer.cs:line 43 at JetBrains.ReSharper.Psi.Parsing.TokenBuffer..ctor(ILexer lexer) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\parsing\TokenBuffer.cs:line 19 at JetBrains.ReSharper.Psi.Parsing.LexerEx.ToCachingLexer(ILexer lexer) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\parsing\ilexer.cs:line 31 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CachedPsiFile..ctor(IPsiSourceFile sourceFile, PsiLanguageType langType, IDocument document, ISecondaryRangeTranslator secondaryTranslator, ReferenceProviderFactory referenceProviderFactory, ILexerFactory lexerFactory, IShellLocks locks) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CachedPsiFile.cs:line 53 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.CreatePrimaryFile(IPsiSourceFile sourceFile) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 371 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.ExecutePrimaryWork(DataForPrimaryWork dataForPrimaryWork) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 81 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.AsyncCommitter`2.Work() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 320 at JetBrains.Application.InterruptableReadActivity.DoWork() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 208 at JetBrains.Application.InterruptableReadActivity.DoSynch() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\InterruptableReadActivity.cs:line 218 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Execute[TData,TResult](Boolean synchronous, List`1 datas, Func`2 workAction, Action`1 ifSuccessful, Action ifInterrupted, Action ifInterruptedSync, CheckForInterrupt checkForInterrupt) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 250 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.CommitExecuter.Commit(ICollection`1 sourceFilesToCommit) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\CommitExecuter.cs:line 60 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.GetOrCreatePsiFile(IPsiSourceFile sourceFile, PsiLanguageType language) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 242 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.GetPsiFile(IPsiSourceFile sourceFile, PsiLanguageType language) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 733 at JetBrains.ReSharper.Psi.PsiManagerExtensions.<>c__DisplayClass1.<EnumeratePsiFiles>b__0(PsiLanguageType language) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\PsiManagerExtensions.cs:line 31 at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at JetBrains.Util.CollectionUtil.<WhereNotNullCore>d__74`1.MoveNext() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1928 at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at JetBrains.ReSharper.Psi.Services.TextControlToPsi.GetReferencesAtOffset(ISolution solution, IDocument document, Int32 offset) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\TextControlToPsi.cs:line 338 at JetBrains.ReSharper.Psi.Services.TextControlToPsi.GetDeclaredElements(ISolution solution, IDocument document, Int32 offset, Boolean& isPossiblyNonNullInThisDocument) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\TextControlToPsi.cs:line 249 at JetBrains.ReSharper.Psi.Services.PsiDataRules.DeclaredElementsFromDocument(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\PsiDataRules.cs:line 117 at JetBrains.ReSharper.Psi.Services.PsiDataRules.<.ctor>b__0(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\PsiDataRules.cs:line 26 at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 161 at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 383
--- Outer —
--- EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = DeclaredElements
Data.DataConstantType = “System.Collections.Generic.ICollection`1[[JetBrains.ReSharper.Psi.IDeclaredElement, JetBrains.ReSharper.Psi, Version=7.0.5.37, Culture=neutral, PublicKeyToken=1010a0d8d6380325]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule`1[System.Collections.Generic.ICollection`1[JetBrains.ReSharper.Psi.IDeclaredElement]]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
--- Outer —
--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 401 at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 122 at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 254 at JetBrains.ReSharper.Psi.Services.PsiDataRules.DeclaredElementSingleOrNull(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\Services\_Core\src\PsiDataRules.cs:line 61 at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\IDataProvider.cs:line 158 at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 383 at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 122 at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant`1 dataConstant) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\DataContext\DataContext.cs:line 254 at JetBrains.ReSharper.Refactorings.Iterator2Function.Iterator2FunctionWorkflow.IsAvailable(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Iterator2Function\Iterator2FunctionWorkflow.cs:line 41 at JetBrains.ReSharper.Refactorings.Workflow.ExtensibleRefactoringAction`1.IsAvailable(IDataContext context, IRefactoringWorkflow refactoringWorkflow) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\_Core\src\Workflow\ExtensibleRefactoringAction.cs:line 31 at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.<>c__DisplayClass4.<GetWorkflowListToExecute>b__3(Pair`2 x) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 99 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.GetWorkflowListToExecute(IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 95 at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction`3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\Navigation\src\ActionsMenu\ExtensibleAction.cs:line 40 at JetBrains.ActionManagement.NextActionHandler.CallUpdate() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 37 at JetBrains.VsIntegration.ActionManagement.ConflictingShortcutActionHandler.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\ConflictingShortcutActionHandler.cs:line 77 at JetBrains.ActionManagement.UpdatableAction.Update(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\UpdatableAction.cs:line 88 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass9.<UpdateAction>b__8(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41 at JetBrains.ActionManagement.ActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 196 at JetBrains.VsIntegration.ActionManagement.VsActionManager.UpdateAction(IUpdatableAction action, IDataContext dataContext) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1363 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus_Product(String actionid, OLECMDTEXT* pOleText) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 987 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass28.<OleCommandTargetQueryStatus>b__27() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 417 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetQueryStatus(Guid guidCmdSet, OLECMD[] olecmds, OLECMDTEXT* pOleText, VsCommandHandlerStage stage) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 402 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__5a(Guid& ref, UInt32 cmds, OLECMD[] cmd, OLECMDTEXT* text) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1422 at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& guidGroup, UInt32 nCmdId, OLECMD[] oleCmd, IntPtr oleText) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 254 at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut) at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut) at Microsoft.VisualStudio.PlatformUI.VsMenuItem.OnSubmenuOpened(RoutedEventArgs e) at System.Windows.Controls.MenuItem.OnIsSubmenuOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetCurrentValueInternal(DependencyProperty dp, Object value) at System.Windows.Controls.MenuItem.OpenMenu() at System.Windows.Controls.MenuItem.ClickHeader() at System.Windows.Controls.MenuItem.HandleMouseDown(MouseButtonEventArgs e) at System.Windows.Controls.MenuItem.OnMouseLeftButtonDown(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) 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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)